OsamaTaher Java-springboot-codebase
Unauthenticated Arbitrary File Read via Absolute Path
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < c835c6f7799eacada4c0fc77e0816f250af01ad2
Mitigation
The record names no fix. Check the vendor advisory below.
References
Timeline
Days relative to CVE publicationFirst public PoC 1.7 days after publication; not in CISA KEV. First PoC: d3sca/CVE-2025-46822 (created 23 May 2025, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 2 suspicious or fake
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| d3sca/CVE-2025-46822 | 23 May 2025 +1.7 d | 0 | PoC |
| HORKimhab/CVE-2025-46822 | 23 May 2026 +1.0 y | 0 | PoC |
Suspicious or fake 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| HORKimhab/CVE-2026-50522 | 22 Jul 2026 +1.2 y | 0 | Fake |
| HORKimhab/CVE-2024-8068-CVE-2024-8069 | 19 Aug 2026 +1.2 y | 0 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Java-springboot-codebase 1.1 - Arbitrary File Read | 25 May 2025 | 14 Nov 2026 |
| nuclei template | nuclei template: Java-springboot-codebase 1.1 - Arbitrary File Read | 13 Jun 2025 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposGET /api/v1/files/{var}
- Ports
- 8080
- Seen in
- 2 repos: HORKimhab/CVE-2025-46822, d3sca/CVE-2025-46822
- Evidence
- HORKimhab/CVE-2025-46822/CVE-2025-46822/CVE-2025-46822.py:22 d3sca/CVE-2025-46822/CVE-2025-46822.py:22
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/v1/files/[^/?#]*(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-46822 OsamaTaher Java-springboot-codebase exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/v1/files/"; reference:url,poc.griffinguard.io/cve/CVE-2025-46822; classtype:web-application-attack; sid:9063013; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: OsamaTaher Java-springboot-codebase exploit attempt (CVE-2025-46822)
id: gg-pocmon-cve-2025-46822-9063013
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-46822. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-46822
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/v1/files/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.46822