osTicket
CVE-2026-22200
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess public osTicket portal
-
DeliverySubmit ticket with php://filter HTML payload
-
ExploitTrigger ticket PDF export
-
ExecutionmPDF reads attacker-chosen local file
-
PersistFile contents embedded in PDF as image
-
ImpactRetrieve PDF and disclose sensitive data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires the ticket PDF export functionality to be used against a crafted ticket, and works in default configurations where guests may create tickets and view ticket status, or where self-registration is enabled - that guest/self-service exposure IS the enabling condition per the description. The attacker must be able to inject rich-text HTML containing PHP filter expressions into a ticket and then trigger a PDF export (self-service export as guest, or reliance on a staff member exporting the ticket). Limiting factors: deployments that disable guest ticket creation, disable self-registration, and require authenticated staff accounts substantially raise the bar, and installations that do not use or expose PDF export are not exploitable; impact is limited to reading files accessible to the osTicket application/web-server user (confidentiality only, no write or code execution from this flaw). |
| Impact | This is a genuine priority rather than a paper-high CVSS. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H) describes remote, low-complexity, unauthenticated exploitation with high confidentiality impact and no integrity/availability effect, scoring 8.7. EPSS of 13.58% (94th percentile) is high and consistent with the fact that publicly available exploit code exists, though there is no CISA KEV listing indicating confirmed active exploitation - signals align (network + no-auth + POC) toward opportunistic rather than confirmed in-the-wild use. The one caveat is that PR:N assumes the default configuration where guests can create/track tickets or self-registration is enabled; in hardened deployments requiring authenticated staff/agent accounts, effective privileges rise and real-world exposure drops. Impact is bounded to information disclosure (no code execution or write from this CVE alone), but leaked secrets can enable follow-on compromise. |
| Exploit ScenarioDerived | An attacker opens the public osTicket portal, submits a support ticket whose rich-text body contains an image/CSS reference using a php://filter chain pointing at a sensitive file (e.g., ost-config.php or /etc/passwd). When the ticket is exported to PDF - by the attacker via guest status access or by a staff member handling the ticket - mPDF resolves the filter chain and renders the file's contents into the PDF as an image, which the attacker then retrieves. Public POC/exploit code from Horizon3.ai demonstrates the full chain. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jul 14, 2026
Arbitrary local file read in Enhancesoft osTicket 1.18.x (before 1.18.3) and 1.17.x (before 1.17.7) lets a remote unauthenticated attacker embed the contents of server-side files into an exported ticket PDF. By submitting a ticket whose rich-text HTML carries crafted PHP filter expressions, the attacker abuses the mPDF export path to render attacker-chosen files as bitmap images, disclosing sensitive data such as configuration files and credentials. Publicly available exploit code exists (Horizon3 'Ticket to Shell' research) and the EPSS score of 13.58% (94th percentile) reflects elevated near-term exploitation likelihood; there is no public exploit identified as active in CISA KEV.
Earlier versions of this analysis (2)
Arbitrary local file disclosure in Enhancesoft osTicket 1.18.x before 1.18.3 and 1.17.x before 1.17.7 lets a remote attacker read sensitive server files by submitting a ticket with crafted rich-text HTML containing PHP filter stream expressions that are insufficiently sanitized before the mPDF engine renders them during PDF export. When the ticket is exported to PDF, attacker-selected files (e.g. configuration secrets, credentials) are embedded as bitmap images in the output, disclosing their contents in the context of the application user. Publicly available exploit code exists (Horizon3.ai wrote a detailed write-up), and the EPSS score of 13.58% (94th percentile) indicates elevated near-term exploitation likelihood, though this CVE is not listed in CISA KEV.
Enhancesoft osTicket versions 1.18.x prior to 1.18.3 and 1.17.x prior to 1.17.7 contain an arbitrary file read vulnerability in the ticket PDF export functionality. [CVSS 7.5 HIGH]
RemediationAI
Vendor-released patch: upgrade to osTicket 1.18.3 (for 1.18.x) or 1.17.7 (for 1.17.x), which contain fix commit c59b067 (https://github.com/osTicket/osTicket/commit/c59b067). If immediate patching is not possible, reduce exposure by disabling guest self-registration and restricting anonymous ticket creation/status access so unauthenticated users cannot submit crafted HTML (trade-off: blocks legitimate anonymous submissions and self-service portals); additionally restrict or disable the ticket-to-PDF export feature, or place the helpdesk behind authentication/VPN, since the file-read only triggers on PDF export (trade-off: removes a convenience feature staff rely on). At the platform level, ensure PHP is hardened so php:// filter wrappers cannot reference sensitive paths, but treat this only as defense-in-depth - the authoritative fix is the upgrade. Reference the vendor advisories linked above.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
osTicket is a PHP-based open-source support ticketing platform. The flaw is a CWE-74 injection: user-supplied rich-text HTML in a ticket body is insufficiently sanitized before being handed to the mPDF library during PDF generation (include/class.pdf.php). Attackers smuggle PHP stream-wrapper filter chains (php://filter/...) - the same primitive behind the referenced 'CNext' research - through image/CSS url() and src attributes, causing mPDF to read local filesystem paths and encode them into the output PDF as images. The vendor fix strips CSS url() usages, denies srcset, tightens the cid: image regex to require a proper prefix, and explicitly unregisters/restores the php stream wrapper around PDF rendering (@stream_wrapper_unregister('php')), directly neutralizing the filter-chain vector. Affected CPE: cpe:2.3:a:enhancesoft:osticket:*.
Know when Osticket gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Remote, low-complexity, unauthenticated in default guest configs (AV:N/AC:L/PR:N/UI:N); confidentiality-only file disclosure with no integrity or availability impact and no scope change.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
6DescriptionCVE.org
Enhancesoft osTicket versions 1.18.x prior to 1.18.3 and 1.17.x prior to 1.17.7 contain an arbitrary file read vulnerability in the ticket PDF export functionality. A remote attacker can submit a ticket containing crafted rich-text HTML that includes PHP filter expressions which are insufficiently sanitized before being processed by the mPDF PDF generator during export. When the attacker exports the ticket to PDF, the generated PDF can embed the contents of attacker-selected files from the server filesystem as bitmap images, allowing disclosure of sensitive local files in the context of the osTicket application user. This issue is exploitable in default configurations where guests may create tickets and access ticket status, or where self-registration is enabled.
Executive ViewAI
Enhancesoft osTicket versions 1.18.x (before 1.18.3) and 1.17.x (before 1.17.7) contain a high-severity file disclosure vulnerability enabling unauthenticated remote attackers to extract sensitive data including credentials and configuration files through malicious ticket submissions. Publicly available exploit code exists for this vulnerability; organizations running affected versions face immediate risk of credential compromise and subsequent lateral movement through stolen secrets.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
SSRF exists in osTicket before 1.14.3, where an attacker can add malicious file to server or perform port scanning. Rate
osTicket 1.10.1 provides a functionality to upload 'html' files with associated formats. Rated critical severity (CVSS 9
An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. Rated high severity (CVSS 8.8), this vulnera
In osTicket before 1.10.1, SQL injection is possible by constructing an array via use of square brackets at the end of a
An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. Rated medium severity (CVSS 6.1), this vulne
Enhancesoft osTicket before 1.10.2 allows remote attackers to reset arbitrary passwords (when an associated e-mail addre
A denial of service attack might be launched against the server if an unusually lengthy password (more than 10000000 cha
A SQL injection vulnerability in the "Search" functionality of "tickets.php" page in osTicket 1.15.x allows authenticate
In osTicket before 1.12, XSS exists via /upload/file.php, /upload/scp/users.php?do=import-users, and /upload/scp/ajax.ph
Cross-site scripting (XSS) vulnerability in /scp/index.php in Enhancesoft osTicket before 1.10.2 allows remote attackers
Cross-site scripting (XSS) vulnerability in /scp/directory.php in Enhancesoft osTicket before 1.10.2 allows remote attac
A SQL injection vulnerability in the "Search" functionality of "tickets.php" page in osTicket <=1.17.5 allows authentica
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB