SSRF Vulnerability in heshengtao super-agent-party
A server-side request forgery (SSRF) vulnerability in heshengtao super-agent-party (up to version 0.4.1) allows remote attackers to perform unauthorized requests via the sanitize_proxy_url function.
A high-severity Server-Side Request Forgery (SSRF) vulnerability (CVE-2026-18973) has been identified in the heshengtao super-agent-party project in versions up to and including 0.4.1. The flaw resides in the sanitize_proxy_url function located within the server.py file of the extension_proxy component. The application fails to properly sanitize the url argument, allowing an unauthenticated remote attacker to influence the proxy's request target. This vulnerability can be exploited to force the application server to make arbitrary requests to internal network resources or external services, potentially leading to information disclosure or reconnaissance of internal services inaccessible to the attacker. A public proof-of-concept exploit is available, increasing the risk of active exploitation.
Attack Chain
- Attacker performs reconnaissance to identify instances of super-agent-party running in the target environment.
- Attacker crafts an HTTP request targeting the
extension_proxyroute. - Attacker injects a malicious payload into the
urlargument of the request. - The
sanitize_proxy_urlfunction inserver.pyfails to perform adequate input validation on the user-suppliedurl. - The server executes an outbound network request to an internal target (e.g., local cloud metadata services or internal APIs) based on the malicious URL.
- The application processes the response from the internal service and potentially returns the data to the attacker, completing the exfiltration or reconnaissance phase.
Impact
The vulnerability allows for SSRF, which can be leveraged to bypass network boundaries, access internal services, or query sensitive local cloud metadata endpoints. If the application server has elevated privileges or network access within the internal infrastructure, an attacker could escalate their access or gain further information about the network topology, potentially impacting the confidentiality and integrity of protected systems.
Recommendation
- Update heshengtao super-agent-party to the latest available version beyond 0.4.1 that incorporates the fix for CVE-2026-18973.
- Implement network segmentation and egress filtering on servers running super-agent-party to restrict the proxy's ability to reach sensitive internal subnets or local metadata endpoints (e.g., 169.254.169.254).
- Deploy web application firewall (WAF) rules to inspect and filter requests targeting the
extension_proxypath containing suspicious characters or internal URI schemes.
Immediate actions
Patch super-agent-party instances to a secure version.
Threat Hunt
Search web logs for requests to the /extension_proxy path containing internal IP or protocol schemes.
Data: webserver access logs
Mitigations
Implement egress filtering on the host running the proxy service.
CVE-2026-18973
Detection coverage 1
Detects CVE-2026-18973 Exploitation - SSRF in extension_proxy
highDetects potential SSRF attempts targeting the super-agent-party extension_proxy route by identifying suspicious characters or internal URI patterns in the url argument.
Detection queries are available on the platform. Get full rules →
Indicators of compromise
1
url
| Type | Value |
|---|---|
| url | https://gist.github.com/YLChen-007/2f12ffb785d975b46b73896c0fb8cb5d |