{"answers":{"affected":"8 open source packages ship an affected version, including org.dspace:dspace-api.","exploited":"There is no known exploitation of CVE-2026-49831 in the wild and no public exploit code.","fix":"Upgrade org.dspace:dspace-api to a fixed version for your release line: 7.6.7, 10.0, 8.4 or 9.3.","what":"CVE-2026-49831 is a medium-severity path traversal vulnerability in DSpace, published on 2 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49831 and fix it if it is affected.\n\nWhat it is: CVE-2026-49831 is a medium-severity path traversal vulnerability in DSpace, published on 2 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-49831 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.dspace:dspace-api (Maven): affected all versions; fixed in 7.6.7\n- org.dspace:dspace-api (Maven): affected all versions; fixed in 7.6.7\n- org.dspace:dspace-api (Maven): affected from 10-rc1; fixed in 10.0\n- org.dspace:dspace-api (Maven): affected from 10-rc1; fixed in 10.0\n- org.dspace:dspace-api (Maven): affected from 8.0-rc1; fixed in 8.4\n- org.dspace:dspace-api (Maven): affected from 8.0-rc1; fixed in 8.4\n- org.dspace:dspace-api (Maven): affected from 9.0-rc1; fixed in 9.3\n- org.dspace:dspace-api (Maven): affected from 9.0-rc1; fixed in 9.3\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-49831/ (Markdown: https://insights.sbomify.com/CVE-2026-49831/index.md)","id":"CVE-2026-49831","markdown":"https://insights.sbomify.com/CVE-2026-49831/index.md","name":"CVE-2026-49831","record":{"aliases":["GHSA-v66x-68f2-pxf5"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"DSpace repository application","requires_auth":"high_privilege","summary":"An attacker can write files to arbitrary locations on the server via the Curation Task Reporter, potentially modifying system files.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"DSpace open source software is a repository application which provides durable access to digital resources. Prior to versions 7.6.7, 8.4, 9.3, and 10.0, the Curation Task feature allows an output path to be used by the reporter (-r parameter), typically used to stream results and status of curation task operations. It is not restricted to any particular base path, meaning that any path writable by the DSpace (often 'tomcat') user is allowed. This constitutes a Path Traversal Vulnerability in the curate script. This issue has been patched in versions 7.6.7, 8.4, 9.3, and 10.0.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"DSpace: Curation Task Reporter output path is not restricted to trusted directories (Path Traversal Vulnerability)","id":"CVE-2026-49831","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":8,"n_references":4,"next":{"headline":"DSpace: Remote Code Execution (RCE) possible in Velocity Templates used by LDN","id":"CVE-2026-49832"},"packages":[{"ecosystem":"Maven","fixed":["7.6.7"],"introduced":["0"],"last_affected":[],"package":"org.dspace:dspace-api","purl":null,"source":"GHSA-v66x-68f2-pxf5"},{"ecosystem":"Maven","fixed":["7.6.7"],"introduced":["0"],"last_affected":[],"package":"org.dspace:dspace-api","purl":"pkg:maven/org.dspace/dspace-api","source":"GHSA-v66x-68f2-pxf5"},{"ecosystem":"Maven","fixed":["10.0"],"introduced":["10-rc1"],"last_affected":[],"package":"org.dspace:dspace-api","purl":null,"source":"GHSA-v66x-68f2-pxf5"},{"ecosystem":"Maven","fixed":["10.0"],"introduced":["10-rc1"],"last_affected":[],"package":"org.dspace:dspace-api","purl":"pkg:maven/org.dspace/dspace-api","source":"GHSA-v66x-68f2-pxf5"},{"ecosystem":"Maven","fixed":["8.4"],"introduced":["8.0-rc1"],"last_affected":[],"package":"org.dspace:dspace-api","purl":null,"source":"GHSA-v66x-68f2-pxf5"},{"ecosystem":"Maven","fixed":["8.4"],"introduced":["8.0-rc1"],"last_affected":[],"package":"org.dspace:dspace-api","purl":"pkg:maven/org.dspace/dspace-api","source":"GHSA-v66x-68f2-pxf5"},{"ecosystem":"Maven","fixed":["9.3"],"introduced":["9.0-rc1"],"last_affected":[],"package":"org.dspace:dspace-api","purl":null,"source":"GHSA-v66x-68f2-pxf5"},{"ecosystem":"Maven","fixed":["9.3"],"introduced":["9.0-rc1"],"last_affected":[],"package":"org.dspace:dspace-api","purl":"pkg:maven/org.dspace/dspace-api","source":"GHSA-v66x-68f2-pxf5"}],"prev":{"headline":"DSpace: ORE resource URI does not validate scheme for non-web resources","id":"CVE-2026-49830"},"products":["DSpace"],"published":"2026-09-02","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-02","vendors":["DSpace"]},"summary":"An attacker can write files to arbitrary locations on the server via the Curation Task Reporter, potentially modifying system files.","url":"https://insights.sbomify.com/CVE-2026-49831/"}