{"id":"CVE-2025-46822","summary":"Unauthenticated Arbitrary File Read via Absolute Path","details":"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.","aliases":["GHSA-q6mm-cm37-w637"],"modified":"2026-10-28T11:01:48.728545870Z","published":"2025-05-21T17:23:37.087Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-36"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46822.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46822.json"},{"type":"ADVISORY","url":"https://github.com/OsamaTaher/Java-springboot-codebase/security/advisories/GHSA-q6mm-cm37-w637"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-46822"},{"type":"FIX","url":"https://github.com/OsamaTaher/Java-springboot-codebase/commit/c835c6f7799eacada4c0fc77e0816f250af01ad2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/osamataher/java-springboot-codebase","events":[{"introduced":"0"},{"fixed":"c835c6f7799eacada4c0fc77e0816f250af01ad2"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"c835c6f7799eacada4c0fc77e0816f250af01ad2"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"c835c6f7799eacada4c0fc77e0816f250af01ad2"}],"source":"REFERENCES_COMMIT"},{"range":[{"introduced":"0"},{"fixed":"c835c6f7799eacada4c0fc77e0816f250af01ad2"}],"source":"DESCRIPTION"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-46822.json","vanir_signatures":[{"source":"https://github.com/osamataher/java-springboot-codebase/commit/c835c6f7799eacada4c0fc77e0816f250af01ad2","target":{"file":"springboot/common-dynamic-management-services/src/main/java/common/management/common/service/impl/FileSystemStorageService.java","function":"loadAsResource"},"deprecated":false,"digest":{"function_hash":"260230418838711861198161572500178582530","length":420},"id":"CVE-2025-46822-0114e15f","signature_type":"Function","signature_version":"v1"},{"source":"https://github.com/osamataher/java-springboot-codebase/commit/c835c6f7799eacada4c0fc77e0816f250af01ad2","target":{"file":"springboot/common-dynamic-management-services/src/main/java/common/management/common/service/impl/FileSystemStorageService.java"},"deprecated":false,"digest":{"line_hashes":["203953969501825620970159642562371232304","10217223470350441853596457596520529134","27639520389873436870741280646302556264","155525985895048319347373879003943397252","186098814722127722644057718867103747950","226947744514770479911046935354954081403","78712438200789090849623638058074170175","88382266504576815765586143787067916789","93919912508821731961569126292436138337","337357567657574738521122925024563213347","200858238921967257313401939460835780468","188551981661242820003083977331948077789","162154344795528626551864506595622055466","179227024468350877568222929449303031364","132008025296685021806192388672237769925"],"threshold":0.9},"id":"CVE-2025-46822-4b564161","signature_type":"Line","signature_version":"v1"},{"id":"CVE-2025-46822-e82343d6","signature_type":"Function","signature_version":"v1","source":"https://github.com/osamataher/java-springboot-codebase/commit/c835c6f7799eacada4c0fc77e0816f250af01ad2","target":{"function":"store","file":"springboot/common-dynamic-management-services/src/main/java/common/management/common/service/impl/FileSystemStorageService.java"},"deprecated":false,"digest":{"function_hash":"154297430224649340341675519398399040535","length":787}}],"vanir_signatures_modified":"2026-10-28T11:01:48Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}