CVE-2025-27136

MEDIUM

LocalS3 < 1.21 - XML External Entity Injection via Bucket Creation Endpoint

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2025-27136. PoCs published by ZaidMkh32, IssaBoudin.

AI-analyzed exploit summary This repository contains a functional Python exploit for CVE-2025-27136, demonstrating an XXE (XML External Entity) vulnerability in Local-S3. The PoC creates a malicious bucket with an XXE payload to read arbitrary files from the target system.

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.

Exploits (2)

nomisec WORKING POC 1 stars
by ZaidMkh32 · poc
https://github.com/ZaidMkh32/CVE-2025-27136-XXE-LocalS3

This repository contains a functional Python exploit for CVE-2025-27136, demonstrating an XXE (XML External Entity) vulnerability in Local-S3. The PoC creates a malicious bucket with an XXE payload to read arbitrary files from the target system.

Classification
Working Poc 100%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Local-S3 (version not specified)
No auth needed
Prerequisites: Network access to the target S3 service · S3 service exposed on the specified port
devstral-2 · analyzed Mar 12, 2026 Full analysis →
nomisec WORKING POC
by IssaBoudin · poc
https://github.com/IssaBoudin/CVE-2025-27136

This repository contains a functional proof-of-concept for CVE-2025-27136, demonstrating an XXE vulnerability that allows an attacker to read sensitive files from the target system. The exploit involves uploading a malicious XML payload and triggering the vulnerability to retrieve file contents.

Classification
Working Poc 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: Unknown (likely a web service or application processing XML input)
No auth needed
Prerequisites: Access to the target endpoint · Ability to send HTTP requests
devstral-2 · analyzed Mar 11, 2026 Full analysis →

Scores

CVSS v4 5.5
EPSS 0.0001
EPSS Percentile 1.1%
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-611
Status published
Products (2)
io.github.robothy/local-s3-rest 0 - 1.21Maven
Robothy/local-s3 < 1.21
Published Mar 10, 2025
Tracked Since Feb 18, 2026