WaratekVRT Sign in

CVE-2025-27136

Severity5.5 Medium CVSS 4.0
Fixed in1.21
WeaknessXML external entity (XXE) (CWE-611)
Published10 Mar 2025
Updated17 Jun 2026

Description

LocalS3 is an Amazon S3 mock service for testing and local development. Prior to version 1.21, the LocalS3 service's bucket creation endpoint is vulnerable to XML External Entity (XXE) injection. When processing the CreateBucketConfiguration XML document during bucket creation, the service's XML parser is configured to resolve external entities. This allows an attacker to declare an external entity that references an internal URL, which the server will then attempt to fetch when parsing the XML. The vulnerability specifically occurs in the location constraint processing, where the XML parser resolves external entities without proper validation or restrictions. When the external entity is resolved, the server makes an HTTP request to the specified URL and includes the response content in the parsed XML document. This vulnerability can be exploited to perform server-side request forgery (SSRF) attacks, allowing an attacker to make requests to internal services or resources that should not be accessible from external networks. The server will include the responses from these internal requests in the resulting bucket configuration, effectively leaking sensitive information. The attacker only needs to be able to send HTTP requests to the LocalS3 service to exploit this vulnerability.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: partial.
  • Indexed PoC 2 indexed, none at 5+ stars
  • EPSS 0.53% chance in 30 days

2 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Proof of Concept for CVE-2025-27136 (XXE in Local-S3) 1 2026-03-11
GitHub PoC XML External Entity PoC in an S3. 2026-03-10

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.
Candidate fix https://github.com/Robothy/local-s3/commit/d6ed756ceb30c1eb9d4263321ac683d734f8836f : a commit: the change itself

How to mitigate CVE-2025-27136

Upgrade the affected software to 1.21 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
io.github.robothy:local-s3-rest 0 1.21 unbounded

Products and versions

1 product, 1 version entry
SourceVendorProductSchemeAffected versions
osv io.github.robothy local-s3-rest generic < 1.21

References

URLTags
https://github.com/Robothy/local-s3/commit/d6ed756ceb30c1eb9d4263321ac683d734f8836f commit
https://github.com/Robothy/local-s3/security/advisories/GHSA-g6wm-2v64-wq36 WEB
https://github.com/Robothy/local-s3 PACKAGE

Timeline

Published2025-03-10By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.