# CVE-2026-75592: Kirby: Access to image files outside of the site root via path traversal in the media handling

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: High; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 47, 2026-11-28)
- **CWE:** CWE-22
- **Aliases:** GHSA-6j4c-mgqr-qv76
- **Published:** 2026-08-31T20:49:41.341Z
- **Modified:** 2026-09-08T21:11:31.703Z

## Who should check

- Projects that depend on Packagist package getkirby/cms (\< 4.9.5)
- Anyone running getkirby kirby \< 4.9.5; \>= 5.0.0, \< 5.5.2

## Description

Kirby is an open-source content management system. Prior to 4.9.5 and 5.5.2, depending on the release line, Kirby's media handler used incomplete filesystem containment checks in src/Filesystem/Dir.php and src/Filesystem/F.php through Kirby\\Filesystem\\Dir::realpath() and Kirby\\Filesystem\\F::realpath(). The checks accepted a sibling directory whose path shared the intended root's string prefix, such as /var/www/site2 next to /var/www/site, because they did not require an exact match or a DIRECTORY\_SEPARATOR boundary. A remote attacker could use Kirby\\Cms\\Media::thumb() to create and access thumbnails from image files in a PHP-readable sibling directory when that directory contained a valid .json thumbnail job file, potentially exposing staging sites, backups, or other internal sites and deleting the job file during processing. This issue is fixed in versions 4.9.5 and 5.5.2.

## Affected and fixed versions

- Packagist `getkirby/cms`: affected \< 4.9.5; fixed 4.9.5, 5.5.2 (osv)
- getkirby kirby: \< 4.9.5; \>= 5.0.0, \< 5.5.2 (cvelist)

## Mitigation

- Upgrade getkirby/cms to one of 4.9.5, 5.5.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-75592. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-75592.md
Affected: getkirby/cms < 4.9.5
Fixed in: 4.9.5, 5.5.2

Steps:
1. Search this machine and project for getkirby/cms (Packagist), getkirby kirby: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-75592 being exploited?

There is no confirmed exploitation: CVE-2026-75592 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-75592?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-75592?

getkirby/cms \< 4.9.5.

### Is there a fix for CVE-2026-75592?

Yes. Fixed in 4.9.5, 5.5.2. Upgrade getkirby/cms to one of 4.9.5, 5.5.2 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-75592?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/getkirby/kirby/security/advisories/GHSA-6j4c-mgqr-qv76>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-75592>
- patch: <https://github.com/getkirby/kirby/commit/2b6fab950bc89d505ea89576bf71c8de614cc3b2>
- patch: <https://github.com/getkirby/kirby/commit/e0dca5f709adc21b36f5549df2c0619bc59da56c>
- other: <https://github.com/getkirby/kirby/releases/tag/4.9.5>
- other: <https://github.com/getkirby/kirby/releases/tag/5.5.2>
- other: <https://github.com/getkirby/kirby>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-75592>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-6j4c-mgqr-qv76> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-75592> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-75592>
