{"answers":{"affected":"2 open source packages ship an affected version, including redaxo/source. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-21857 exists.","fix":"Upgrade redaxo/source to 5.20.2 or later.","what":"CVE-2026-21857 is a high-severity path traversal vulnerability in redaxo, published on 7 Jan 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-21857 and fix it if it is affected.\n\nWhat it is: CVE-2026-21857 is a high-severity path traversal vulnerability in redaxo, published on 7 Jan 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-21857 exists.\n\nAffected packages and fixed versions:\n- redaxo/source (Packagist): affected all versions; fixed in 5.20.2\n- redaxo/source (Packagist): affected all versions; fixed in 5.20.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-21857/ (Markdown: https://insights.sbomify.com/CVE-2026-21857/index.md)","id":"CVE-2026-21857","markdown":"https://insights.sbomify.com/CVE-2026-21857/index.md","name":"CVE-2026-21857","record":{"aliases":["GHSA-824x-88xg-cwrv"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Redaxo CMS Backup Addon","requires_auth":"high_privilege","summary":"Authenticated users with backup permissions can read arbitrary files within the webroot via path traversal in the Redaxo Backup addon.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"redaxo","vendor":"redaxo"}],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:H/SA:N","version":"4.0"},"cwes":[{"id":"CWE-24","name":"Path Traversal: '../filedir'"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"REDAXO is a PHP-based content management system. Prior to version 5.20.2, authenticated users with backup permissions can read arbitrary files within the webroot via path traversal in the Backup addon's file export functionality. The Backup addon does not validate the `EXPDIR` POST parameter against the UI-generated allowlist of permitted directories. An attacker can supply relative paths containing `../` sequences (or even absolute paths inside the document root) to include any readable file in the generated `.tar.gz` archive. Version 5.20.2 fixes this issue.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":"2026-04-11","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-04-11T19:14:34Z","kind":"github_poc","ref":"https://github.com/lukasz-rybak/CVE-2026-21857","stars":0,"title":"CVE-2026-21857 - Redaxo has Path Traversal in Backup Addon Leading to Arbitrary File Read"}],"tier":"weaponised"},"has_fix":true,"headline":"Redaxo has Path Traversal in Backup Addon Leading to Arbitrary File Read","id":"CVE-2026-21857","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling","id":"CVE-2026-21858"},"packages":[{"ecosystem":"Packagist","fixed":["5.20.2"],"introduced":["0"],"last_affected":[],"package":"redaxo/source","purl":null,"source":"GHSA-824x-88xg-cwrv"},{"ecosystem":"Packagist","fixed":["5.20.2"],"introduced":["0"],"last_affected":[],"package":"redaxo/source","purl":"pkg:composer/redaxo/source","source":"GHSA-824x-88xg-cwrv"}],"prev":{"headline":"Tarkov Data Manager has Authenticated SQL Injection","id":"CVE-2026-21856"},"products":["redaxo"],"published":"2026-01-07","related":[{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2018-18200","kev_date_added":null,"published":"2018-10-09"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2018-17831","kev_date_added":null,"published":"2018-10-01"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2006-2843","kev_date_added":null,"published":"2006-06-06"},{"cvss_score":7.5,"headline":"Multiple PHP remote file inclusion vulnerabilities in Redaxo 3.0 allow remote attackers to execute arbitrary PHP code via a URL in the REX[I","id":"CVE-2006-2844","kev_date_added":null,"published":"2006-06-06"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2006-2845","kev_date_added":null,"published":"2006-06-06"},{"cvss_score":7.2,"headline":"REDAXO CMS is vulnerable to RCE attack through its template management component","id":"CVE-2025-64050","kev_date_added":null,"published":"2025-11-25"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-01-08","vendors":["redaxo"]},"summary":"Authenticated users with backup permissions can read arbitrary files within the webroot via path traversal in the Redaxo Backup addon.","url":"https://insights.sbomify.com/CVE-2026-21857/"}