Tag: critical

  • GHSA-5q7h-w9jf-cx97: kaniko can send the build’s Azure (Entra ID) access token to lookalike ACR registry hosts

    • Severity: CRITICAL
    • CVE: CVE-2026-105769
    • Ecosystems: go
    • Packages: github.com/chainguard-dev/kaniko

    ### Summary

    kaniko before v1.25.20 can send a Microsoft Entra ID (Azure AD) access token for Azure Resource Manager to a registry host an attacker controls. A Dockerfile that references an image on a lookalike host, such as `FROM x.azurecr.io.attacker.com/img`, is enough. The build needs no `RUN` instruction and never has to push.

    The flaw is in the Azure Container Registry (ACR) credential helper, `github.com/chrismellard/docker-credential-acr-env`. kaniko links it into the executor and warmer (the built-in helper) and also builds it as the standalone `docker-credential-acr-env` binary. The helper decides whether a host is an ACR registry with an unanchored regex, so any hostname that contains `.azurecr.io` (or `.azurecr.cn`, `.azurecr.de`, `.azurecr.us`) passes. The upstream module is unmaintained and has no fixed release. The Go vulnerability database tracks the upstream flaw as [GO-2026-6225](https://pkg.go.dev/vuln/GO-2026-6225).

    ### Who is affected

    You are affected if you run kaniko before v1.25.20 on Dockerfiles, or build arguments, that you don’t fully control, in an environment where the helper can get an Azure identity:

    – service principal credentials in the environment (`AZURE_CLIENT_ID`, `AZURE_CLIENT_SECRET`, `AZURE_TENANT_ID`)
    – a federated workload identity token (`AZURE_FEDERATED_TOKEN` or `AZURE_FEDERATED_TOKEN_FILE`, with `AZURE_CLIENT_ID` and `AZURE_TENANT_ID`), as injected by AKS workload identity
    – a managed identity, through the Azure Instance Metad…

    Source: GitHub Security Advisories · 2026-11-05

  • GHSA-33r5-xmm8-v6x5: Elo JavaScript emitter has sandbox escape to arbitrary Node.js / browser code execution via unfiltered `.constructor` member access

    • Severity: CRITICAL
    • CVE: CVE-2026-44267
    • Ecosystems: npm
    • Packages: @enspirit/elo

    ### Summary

    An unauthenticated attacker who controls a string passed to any Elo JavaScript-emission path — `defaultFormats.elo.parse()`, the `bin/elo` CLI, or the live browser playground at `elo-lang.org/try` — can execute arbitrary code in the host JavaScript runtime. A payload built from the `.constructor.constructor` chain compiles, without modification, to a live `Function` invocation in the emitted JavaScript, escaping any sandbox assumption around “Elo is a safe data/DSL language.”

    ### Vulnerable sink and root cause

    Three interacting sites in `src/` produce the bug at commit `749af7b`:

    1. **`src/transform.ts:144–158`** — the `member_access` handler allows access on types `any`, `object`, or `array` without filtering the property name. This is the only place an integrator could have plugged a denylist.
    2. **`src/compilers/javascript.ts:210`** — the JS emitter writes `${objectExpr}.${ir.property}` verbatim into the output, so any property name that survives the transform step flows unescaped into emitted JavaScript.
    3. **`src/parser.ts:163–170, 748–750`** — the parser accepts `constructor` (and other JS meta-property names) as an ordinary identifier, so `.constructor` clears type-checking without triggering any warning.

    Combined, the Elo expression `({}).constructor.constructor(‘…’)()` compiles to a live `Function(‘…’)()` call in the emitted JS, executing in the realm of whichever sink runs the compiled code.

    ### Attack surfaces

    All three surfaces share the same ro…

    Source: GitHub Security Advisories · 2026-11-03

  • GHSA-7w38-ggh5-v542: Elo Ruby backend has Remote Code Execution via unescaped `#{…}` interpolation in emitted string literals and subtype-constraint labels

    • Severity: CRITICAL
    • CVE: CVE-2026-44266
    • Ecosystems: npm
    • Packages: @enspirit/elo

    ### Summary

    Elo’s Ruby backend emits attacker-controlled text into Ruby double-quoted strings without escaping the `#` character. Because `#` begins Ruby’s interpolation sequences — `#{expr}`, `#@ivar`, `#@@cvar`, `#$gvar` — and any expression wrapped in `#{…}` may use backticks for shell execution, an Elo program that contains a crafted string literal or a labelled subtype constraint compiles to Ruby that evaluates attacker-chosen Ruby, and through backticks runs attacker-chosen shell commands, at runtime.

    The same Elo source compiled to JavaScript, Python, or SQL is benign, so the bug also breaks the cross-target portability guarantee the rest of the compiler honours.

    ### Vulnerable sinks

    Two sinks exist in `src/compilers/ruby.ts` at commit `749af7b`:

    1. **String-literal emitter — lines 180–184.**
    The emitter escapes backslash, double quote, and control characters, but not `#`. Any `#{…}` sequence in an Elo string literal flows straight into the emitted Ruby source.

    2. **Labelled subtype-constraint branch — lines 405–412.**
    The error message passed to `p_fail(p, “…”)` is wrapped in a Ruby double-quoted string with no escape pass at all. Because the parser at `src/parser.ts:1339–1348` accepts single-quoted Elo strings as constraint labels, a label such as `’#{` “ `id` “ `}’` flows unchanged into the emitted Ruby.

    ### Attack surfaces

    All three surfaces share the same root cause (the missing `#` escape in the Ruby double-quoted-string emission path) and are a…

    Source: GitHub Security Advisories · 2026-11-03