PoC Monitor
← All CVEs
CVE-2025-46822published 21 May 2025 17:23 UTCData: JSON · API

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.

First public PoC 1.7 daysafter publication · 23 May 2025
Public PoCs42 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS7.7high · scored by CNA · CWE-36
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

OsamaTaher Java-springboot-codebase
  • < c835c6f7799eacada4c0fc77e0816f250af01ad2

Mitigation

The record names no fix. Check the vendor advisory below.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published21 May 2025 · t = 0First public PoC23 May 2025 · t+1.7d

First 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
RepositoryCreatedStarsAssessment
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
RepositoryCreatedStarsAssessment
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.
SourceTitlePublishedFound by us
Exploit-DBJava-springboot-codebase 1.1 - Arbitrary File Read25 May 202514 Nov 2026
nuclei templatenuclei template: Java-springboot-codebase 1.1 - Arbitrary File Read13 Jun 202514 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /api/v1/files/{var}
(?i)^/api/v1/files/[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/v1/files/{var}
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.

GET /api/v1/files/{var}
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