bleon-ethical API Gateway Deploy OS Command Injection and Privilege Escalation Vulnerability

Vulnerability

A critical vulnerability has been identified in bleon-ethical/api-gateway-deploy version 1.0.0, involving OS command injection and privilege escalation. This vulnerability allows an attacker to execute arbitrary commands with root privileges within the container, potentially escaping the container and making unauthorized modifications to the infrastructure. The issue arises in the entrypoint.sh script, where the sed command is used to replace strings in a temporary Swagger file. The variable $INPUT_CORS_DOMAIN is vulnerable to injection, as it is not properly sanitized or delimited, enabling attackers to manipulate the command execution.

Impact

Exploitation of this vulnerability allows for remote code execution with root privileges in the container, which could lead to a container escape and unauthorized changes to the infrastructure.

Remediation

The vulnerability has been fixed in version 1.0.1 by sanitizing inputs and securing delimiters in the entrypoint.sh script, enforcing the use of a non-root user in the Dockerfile, and implementing mandatory security quality gates.

Added: Feb 24, 2026, 3:28 PM
Updated: Feb 24, 2026, 10:24 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
10.0
exploitability
4.8
remediation
0.0
relevance
3.1
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.