Contao: Possible path traversal in job download URIs (CVE-2026-55825)
Contao versions 5.7.0 through 5.7.6 contain a path traversal vulnerability in the job attachment download endpoint. An authenticated backend user with access to one job can manipulate the attachment identifier to read files from other job directories within the job attachments storage. This occurs because the system canonicalizes the combined path but does not enforce that the resolved path remains within the authorized job directory. The vulnerability allows reading of attachments such as CSV logs from other jobs if the attacker knows the target job UUID and attachment filename.
AI Analysis
Technical Summary
The vulnerability in Contao's JobsController::downloadJobAttachment allows an authenticated backend user to bypass authorization checks for job attachments by exploiting path traversal in the attachment identifier. The controller authorizes access only based on the job UUID route parameter, but the attachment identifier is attacker-controlled and concatenated with the authorized job UUID before path canonicalization. The VirtualFilesystem::resolve method canonicalizes the path and rejects absolute or leading '..' segments but does not ensure the resolved path stays within the authorized job directory. This enables reading files from other job directories inside var/job-attachments by using '../' segments in the identifier. The vulnerability affects Contao versions >=5.7.0 and <5.7.7. The recommended fix involves treating the attachment identifier strictly as a filename, rejecting slashes and dot-segments, enforcing route requirements to prevent slashes, and verifying the resolved path starts with the authorized job UUID.
Potential Impact
An authenticated backend user with access to one job can read attachments belonging to other jobs if they know or can guess the target job UUID and attachment filename. This leads to unauthorized disclosure of potentially sensitive job-related files such as debug logs and crawler job CSV logs containing URLs, referring URLs, tags, and error messages. The impact is limited by the need for authentication and knowledge of valid job UUIDs and filenames. The CVSS score is 3.1 (Low), reflecting low confidentiality impact and high attack complexity.
Mitigation Recommendations
A patch is available for this vulnerability. The vendor recommends rejecting slashes, backslashes, NUL characters, and dot-segment components in the attachment identifier to treat it strictly as a filename. Additionally, route requirements should prevent slashes in the identifier. After path resolution, the system must verify that the canonical relative path starts with the authorized job UUID directory before allowing access. The same validation should be applied when adding attachments to prevent writing outside the authorized job directory. Users should apply the official fix in versions 5.7.7 or later.
Contao: Possible path traversal in job download URIs (CVE-2026-55825)
Description
Contao versions 5.7.0 through 5.7.6 contain a path traversal vulnerability in the job attachment download endpoint. An authenticated backend user with access to one job can manipulate the attachment identifier to read files from other job directories within the job attachments storage. This occurs because the system canonicalizes the combined path but does not enforce that the resolved path remains within the authorized job directory. The vulnerability allows reading of attachments such as CSV logs from other jobs if the attacker knows the target job UUID and attachment filename.
CVSS v3.1
Score 3.1low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Contao's JobsController::downloadJobAttachment allows an authenticated backend user to bypass authorization checks for job attachments by exploiting path traversal in the attachment identifier. The controller authorizes access only based on the job UUID route parameter, but the attachment identifier is attacker-controlled and concatenated with the authorized job UUID before path canonicalization. The VirtualFilesystem::resolve method canonicalizes the path and rejects absolute or leading '..' segments but does not ensure the resolved path stays within the authorized job directory. This enables reading files from other job directories inside var/job-attachments by using '../' segments in the identifier. The vulnerability affects Contao versions >=5.7.0 and <5.7.7. The recommended fix involves treating the attachment identifier strictly as a filename, rejecting slashes and dot-segments, enforcing route requirements to prevent slashes, and verifying the resolved path starts with the authorized job UUID.
Potential Impact
An authenticated backend user with access to one job can read attachments belonging to other jobs if they know or can guess the target job UUID and attachment filename. This leads to unauthorized disclosure of potentially sensitive job-related files such as debug logs and crawler job CSV logs containing URLs, referring URLs, tags, and error messages. The impact is limited by the need for authentication and knowledge of valid job UUIDs and filenames. The CVSS score is 3.1 (Low), reflecting low confidentiality impact and high attack complexity.
Mitigation Recommendations
A patch is available for this vulnerability. The vendor recommends rejecting slashes, backslashes, NUL characters, and dot-segment components in the attachment identifier to treat it strictly as a filename. Additionally, route requirements should prevent slashes in the identifier. After path resolution, the system must verify that the canonical relative path starts with the authorized job UUID directory before allowing access. The same validation should be applied when adding attachments to prevent writing outside the authorized job directory. Users should apply the official fix in versions 5.7.7 or later.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-grm4-wm43-9jh5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-55825"]
- Ecosystems
- ["Packagist"]
- Database Specific Severity
- LOW
- Cvss Version
- 3.1
Threat ID: 6a757449bf8831d539d9ad62
Added to database: 08/07/2026, 05:59:37 UTC
Last enriched: 08/07/2026, 06:13:38 UTC
Last updated: 08/08/2026, 00:41:14 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.