CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-24748

Kargo Cult Security: Bypassing Auth with a Placebo Token

Alon Barad
Alon Barad
Software Engineer

Jan 27, 2026·5 min read·77 visits

Executive Summary (TL;DR)

The authentication interceptor in Kargo assumed that any token it couldn't parse as a JWT was a valid Kubernetes bearer token. It passed these 'junk' tokens through without verification. Attackers can provide any non-empty string in the Authorization header to bypass auth, dump cluster configs, or DDoS the control plane.

A critical authentication bypass in Akuity Kargo allows unauthenticated attackers to access sensitive configuration endpoints and trigger reconciliation loops. The vulnerability stems from a fail-open authentication logic that blindly trusted unrecognized tokens.

The Hook: The Keys to the Kingdom

Kargo is the traffic controller for your Kubernetes application lifecycle. It automates the promotion of software artifacts across different stages—testing, staging, production. Because it manages this flow, it inherently holds sensitive knowledge: where your clusters are, how they are configured, and the credentials (or privileged context) needed to talk to them.

In the world of continuous delivery, components like Kargo are high-value targets. If you control the promotion logic, you control what runs in production. Usually, these tools are locked down tight with OIDC, JWTs, and rigorous identity checks.

But in CVE-2026-24748, we found that Kargo's front door wasn't locked. In fact, the bouncer at the door had a very specific, very flawed set of instructions: "If you don't recognize the ID card, assume they are a VIP and let them in."

The Flaw: Optimism is a Security Bug

The vulnerability lies in the authInterceptor.authenticate method within internal/server/option/auth.go. This middleware is responsible for looking at the Authorization header and deciding who you are.

Kargo supports multiple auth schemes: its own JWTs, OIDC tokens, and—crucially—Kubernetes bearer tokens. The logic flow was intended to be:

  1. Is it a Kargo JWT? Verify it.
  2. Is it an OIDC token? Verify it.
  3. If it's neither, it must be a Kubernetes token. Let the Kubernetes API handle it later.

The fatal flaw was in step 3. The code was designed to be "fail-open" for non-JWTs. It assumed that if a token wasn't a well-formed JWT, it was an opaque token meant for the Kubernetes API server. It essentially shrugged and said, "Not my problem, the downstream API will catch it if it's fake."

> [!WARNING] > The Logic Gap: The problem is that not all endpoints backed by this interceptor actually forwarded requests to the Kubernetes API in a way that verified the token. Endpoints like GetConfig() used an internal privileged client or local data, meaning the "junk" token was never challenged. It was accepted as valid credentials for a "Kubernetes User."

The Code: The Smoking Gun

Let's look at the vulnerable code in internal/server/option/auth.go. This is a classic example of implicit trust.

// BEFORE: Vulnerable Logic
untrustedClaims := jwt.RegisteredClaims{}
if _, _, err := a.parseUnverifiedJWTFn(rawToken, &untrustedClaims); err != nil {
    // This token isn't a JWT, so it's probably an opaque bearer token for the
    // Kubernetes API server. Just run with it.
    return user.ContextWithInfo(
        ctx,
        user.Info{
            BearerToken: rawToken,
        },
    ), nil
}

The comment literally says "Just run with it." In security auditing, this is what we call a "resume-generating comment."

The fix introduces a fail-closed mechanism. Instead of assuming the token is valid, Kargo now performs a "canary" request to the Kubernetes API to verify it.

// AFTER: Patched Logic
if _, _, err := a.parseUnverifiedJWTFn(rawToken, &untrustedClaims); err != nil {
    // Validate the token against the K8s API before trusting it
    if err := a.verifyKubernetesToken(ctx, rawToken); err != nil {
        return nil, connect.NewError(connect.CodeUnauthenticated, err)
    }
    // If K8s says 200 OK, then we proceed.
    return user.ContextWithInfo(...)
}

The Exploit: "Open Sesame"

Exploiting this requires zero technical sophistication. You don't need to forge a signature. You don't need a leaked secret. You just need a non-empty string.

Because the parser fails on anything that isn't a JWT, passing a garbage string triggers the vulnerable "It must be a K8s token" path. Since the GetConfig endpoint doesn't validate the token against K8s, you get full access.

The Attack Chain:

  1. Target: Identify the Kargo API (e.g., port 8080 or 443).
  2. Payload: A simple GET request with a dummy Bearer token.
curl -k -X GET https://kargo.target.local/api/v1alpha1/config \
     -H "Authorization: Bearer I_AM_A_HACKER"
  1. Result: The server returns 200 OK with a JSON payload containing internal cluster configurations, Argo CD endpoints, and namespace details.

It is effectively a skeleton key made of cardboard. As long as you present something, the door opens.

The Impact: DoS and Disclosure

Why should you care about a CVSS 6.9?

1. Information Disclosure: The GetConfig() endpoint leaks the topography of your delivery pipeline. Attackers can learn where your clusters are located and how your applications are partitioned. This is the reconnaissance phase of a much larger attack.

2. Denial of Service (The Infinite Loop): The RefreshResource endpoint is also vulnerable. An attacker can hammer this endpoint with a script.

Each request triggers a reconciliation loop in Kargo. If an attacker floods this endpoint, they force the Kargo controller to constantly attempt to reconcile resources, spiking CPU usage and potentially overwhelming the underlying Kubernetes API server with status update requests. It's a fantastic way to burn your cloud budget or freeze your deployment pipeline during a critical release.

Official Patches

AkuityGitHub Security Advisory

Fix Analysis (3)

Technical Appendix

CVSS Score
6.9/ 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:L

Affected Systems

Kargo API Server

Affected Versions Detail

Product
Affected Versions
Fixed Version
Kargo
Akuity
< 1.6.31.6.3
Kargo
Akuity
1.7.0 - 1.7.61.7.7
Kargo
Akuity
1.8.0 - 1.8.61.8.7
AttributeDetail
CWE IDCWE-863 (Incorrect Authorization)
CVSS Score6.9 (Medium)
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
Exploit StatusPoc Available

MITRE ATT&CK Mapping

T1078Valid Accounts
Initial Access
T1592Gather Victim Host Information
Discovery
T1499Endpoint Denial of Service
Impact
CWE-863
Incorrect Authorization

The software does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.

Known Exploits & Detection

InternalSending 'Authorization: Bearer <random>' to /api/v1alpha1/config

Vulnerability Timeline

Initial partial fix for DoS reconciliation loops
2026-01-20
Complete Auth Interceptor fix committed
2026-01-26
Public Disclosure (GHSA Published)
2026-01-27

References & Sources

  • [1]GHSA Advisory
  • [2]NVD Detail

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•1 day ago•CVE-2026-58254
6.5

CVE-2026-58254: Authorization Bypass in NATS Server Message Tracing for Leaf Node Connections

NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.

Alon Barad
Alon Barad
8 views•10 min read
•1 day ago•CVE-2026-63341
7.5

CVE-2026-63341: Unauthenticated Denial of Service via Unbounded Topic Depth in Aedes MQTT Broker

CVE-2026-63341 is a high-severity Denial of Service (DoS) vulnerability in the Aedes MQTT broker for Node.js affecting all versions prior to 1.1.1. The flaw stems from missing input validation on the hierarchical depth of incoming MQTT topic strings before they are passed to the underlying topic-matching engine, qlobber. Because qlobber enforces a hardcoded limit of 100 topic levels and throws a synchronous exception when this threshold is exceeded, an attacker can send a single MQTT packet containing 101 or more forward-slash-separated levels to trigger an uncaught exception that immediately terminates the Node.js broker process.

Alon Barad
Alon Barad
14 views•12 min read
•1 day ago•CVE-2026-61725
6.1

CVE-2026-61725: Path Traversal and Arbitrary File Overwrite in sevenz-rust2

CVE-2026-61725 is a path traversal vulnerability (CWE-22) in the sevenz-rust2 Cargo package prior to version 0.21.1. The vulnerability occurs because the decompression utility fails to validate or sanitize archive entry filenames before joining them with the destination directory path via std::path::Path::join. An attacker who supplies a crafted 7z archive containing parent directory traversal sequences or absolute paths can write or overwrite arbitrary files on the host filesystem with the privileges of the extracting process.

Alon Barad
Alon Barad
6 views•12 min read
•1 day ago•CVE-2026-77309
8.8

CVE-2026-77309: Unauthenticated Remote Code Execution in NASA-AMMOS AIT-GUI via Incomplete File Cleanup and Path Traversal

CVE-2026-77309 (GHSA-jrjx-9jjw-747m) is a high-severity unauthenticated remote code execution vulnerability affecting NASA-AMMOS AIT-GUI versions 1.0.0 through 2.5.0. The flaw results from chaining an incomplete file cleanup error in the telemetry query endpoint (/tlm/query) with a directory traversal flaw in the script execution endpoint (/script/run). An attacker on an adjacent network can stage arbitrary Python statements into a static file on disk and execute that file under the privileges of the AIT-GUI web server process.

Amit Schendel
Amit Schendel
13 views•10 min read
•2 days ago•CVE-2026-77332
2.3

CVE-2026-77332: Surfaced-Memory Envelope Injection and Stored Prompt Injection in memtomem-stm

A vulnerability classified under CWE-116 (Improper Encoding or Escaping of Output) exists in memtomem-stm versions 0.1.0 through 0.1.33. The software acts as a Model Context Protocol (MCP) short-term memory proxy gateway for AI agent architectures. When surfacing retrieved memories and scratchpad items into downstream Large Language Model (LLM) context envelopes, the SurfacingFormatter component fails to properly sanitize untrusted memory attributes. An attacker with the ability to plant untrusted content into the agent's long-term or working memory store can inject arbitrary structural delimiters, close the <surfaced-memories> XML boundary prematurely, visually obscure instructions using Unicode bidirectional overrides, and execute stored prompt injection attacks against downstream LLM agents.

Alon Barad
Alon Barad
17 views•10 min read
•2 days ago•CVE-2026-77331
2.0

CVE-2026-77331: Race Condition and Session State Corruption in memtomem-stm

CVE-2026-77331 (GHSA-72jh-722p-rqr3) is a concurrency and session-state synchronization vulnerability in memtomem-stm, a short-term memory proxy gateway for AI agents. In versions 0.1.2 prior to 0.1.34, concurrent Model Context Protocol (MCP) Remote Procedure Call (RPC) failures or mid-flight task cancellations can initiate duplicate reconnect loops and permit dirty or cancelled transport sessions to be reused. This deficiency results in session-state integrity loss and local service degradation.

Amit Schendel
Amit Schendel
8 views•9 min read