CVE-2026-27112
Received Received - Intake
YAML Injection in Kargo APIs Enables Privilege Escalation

Publication date: 2026-02-20

Last updated on: 2026-02-25

Assigner: GitHub, Inc.

Description
Kargo manages and automates the promotion of software artifacts. From 1.7.0 to before v1.7.8, v1.8.11, and v1.9.3, the batch resource creation endpoints of both Kargo's legacy gRPC API and newer REST API accept multi-document YAML payloads. Specially crafted payloads can manifest a bug present in the logic of both endpoints to inject arbitrary resources (of specific types only) into the underlying namespace of an existing Project using the API server's own permissions when that behavior was not intended. Critically, an attacker may exploit this as a vector for elevating their own permissions, which can then be leveraged to achieve remote code execution or secret exfiltration. Exfiltrated artifact repository credentials can be leveraged, in turn, to execute further attacks. In some configurations of the Kargo control plane's underlying Kubernetes cluster, elevated permissions may additionally be leveraged to achieve remote code execution or secret exfiltration using kubectl. This can reduce the complexity of the attack, however, worst case scenarios remain entirely achievable even without this. This vulnerability is fixed in v1.7.8, v1.8.11, and v1.9.3.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-20
Last Modified
2026-02-25
Generated
2026-05-27
AI Q&A
2026-02-21
EPSS Evaluated
2026-05-25
NVD
Affected Vendors & Products
Showing 3 associated CPEs
Vendor Product Version / Range
akuity kargo From 1.7.0 (inc) to 1.7.8 (exc)
akuity kargo From 1.8.0 (inc) to 1.8.11 (exc)
akuity kargo From 1.9.0 (inc) to 1.9.3 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability exists in Kargo versions from 1.7.0 up to but not including 1.7.8, 1.8.11, and 1.9.3. It affects the batch resource creation endpoints of both Kargo's legacy gRPC API and newer REST API, which accept multi-document YAML payloads.

A specially crafted payload can exploit a bug in the logic of these endpoints to inject arbitrary resources (of specific types only) into the namespace of an existing Project. This injection uses the API server's own permissions, even when such behavior was not intended.

An attacker can leverage this to elevate their own permissions, which can then be used to achieve remote code execution or secret exfiltration. The attacker can also exfiltrate artifact repository credentials, enabling further attacks.

In some Kubernetes cluster configurations underlying the Kargo control plane, these elevated permissions can be used with kubectl to simplify remote code execution or secret exfiltration, though worst-case scenarios remain possible without this.


How can this vulnerability impact me? :

This vulnerability can have severe impacts including unauthorized elevation of privileges within the Kargo environment.

An attacker exploiting this flaw can execute remote code, potentially taking control of affected systems.

Secret exfiltration is also possible, meaning sensitive information such as artifact repository credentials can be stolen and used for further attacks.

In Kubernetes environments, the attacker may leverage elevated permissions to use kubectl for additional malicious actions, increasing the attack's effectiveness.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

I don't know


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, upgrade Kargo to one of the fixed versions: v1.7.8, v1.8.11, or v1.9.3.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart