CVE-2026-54690
koxudaxi · datamodel-code-generator
A Server-Side Request Forgery vulnerability exists in datamodel-code-generator, allowing attackers to force the application to make unauthorized requests to internal or external resources.
Executive summary
A Server-Side Request Forgery vulnerability in the datamodel-code-generator library could allow an attacker to perform unauthorized requests to internal network resources.
Vulnerability
This is a Server-Side Request Forgery (SSRF) vulnerability. It occurs when the library fails to properly validate input, allowing an unauthenticated attacker to redirect the application to perform requests to arbitrary destinations.
Business impact
With a CVSS score of 8.2, this SSRF vulnerability presents a high risk to internal infrastructure security. An attacker could leverage this flaw to bypass firewalls, probe internal network services, or access sensitive cloud metadata, leading to potential data exfiltration or unauthorized system interaction.
Remediation
Immediate Action: Update the datamodel-code-generator library to version 0.61.0 or later to include the necessary security fixes.
Proactive Monitoring: Audit application logs for unusual outbound connection attempts or unexpected requests directed toward internal IP addresses or sensitive endpoints.
Compensating Controls: Restrict the application server's outbound network access using egress filtering policies to ensure it can only communicate with known and trusted destinations.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
All projects utilizing datamodel-code-generator must be updated to version 0.61.0 immediately. Organizations should also conduct a review of their egress network security policies to minimize the impact of any potential SSRF vulnerabilities within their software supply chain.