{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-46822 exists.","fix":"No fix has been published for CVE-2025-46822 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-46822 is a high-severity path traversal vulnerability in OsamaTaher Java-springboot-codebase, published on 21 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-46822 and fix it if it is affected.\n\nWhat it is: CVE-2025-46822 is a high-severity path traversal vulnerability in OsamaTaher Java-springboot-codebase, published on 21 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-46822 exists.\n\nAffected product: OsamaTaher Java-springboot-codebase. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2025-46822/ (Markdown: https://insights.sbomify.com/CVE-2025-46822/index.md)","id":"CVE-2025-46822","markdown":"https://insights.sbomify.com/CVE-2025-46822/index.md","name":"CVE-2025-46822","record":{"aliases":["GHSA-q6mm-cm37-w637"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java Spring Boot codebase","requires_auth":"none","summary":"Unauthenticated attackers can read sensitive internal files via absolute path traversal in this Java Spring Boot codebase.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"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/E:P","version":"4.0"},"cwes":[{"id":"CWE-36","name":"Absolute Path Traversal"}],"description":"OsamaTaher/Java-springboot-codebase is a collection of Java and Spring Boot code snippets, applications, and projects. Prior to commit c835c6f7799eacada4c0fc77e0816f250af01ad2, insufficient path traversal mechanisms make absolute path traversal possible. This vulnerability allows unauthorized access to sensitive internal files. Commit c835c6f7799eacada4c0fc77e0816f250af01ad2 contains a patch for the issue.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2025-05-23","github_poc":2,"max_poc_stars":0,"metasploit":0,"nuclei":1,"refs":[{"date":"2025-05-23T10:26:34Z","kind":"github_poc","ref":"https://github.com/d3sca/CVE-2025-46822","stars":0,"title":" Unauthenticated Arbitrary File Read via Absolute Path "},{"date":"2025-05-25","kind":"exploitdb","ref":"52304","stars":null,"title":"Java-springboot-codebase 1.1 - Arbitrary File Read"},{"date":"2026-05-23T03:14:55Z","kind":"github_poc","ref":"https://github.com/HORKimhab/CVE-2025-46822","stars":0,"title":"CVE-2025-46822"},{"date":null,"kind":"nuclei","ref":"http/cves/2025/CVE-2025-46822.yaml","stars":null,"title":"Java-springboot-codebase 1.1 - Arbitrary File Read"}],"tier":"weaponised"},"has_fix":false,"headline":"Unauthenticated Arbitrary File Read via Absolute Path","id":"CVE-2025-46822","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":0,"n_references":2,"next":{"headline":"OpenMRS has Vulnerability in FHIR2 Module Privileges","id":"CVE-2025-46823"},"packages":[],"prev":{"headline":"Envoy vulnerable to bypass of RBAC uri_template permission","id":"CVE-2025-46821"},"products":["Java-springboot-codebase"],"published":"2025-05-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-21","vendors":["OsamaTaher"]},"summary":"Unauthenticated attackers can read sensitive internal files via absolute path traversal in this Java Spring Boot codebase.","url":"https://insights.sbomify.com/CVE-2025-46822/"}