GHSA-52gf-6rpq-fgmx

Suggest an improvement
Source
https://github.com/advisories/GHSA-52gf-6rpq-fgmx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-52gf-6rpq-fgmx/GHSA-52gf-6rpq-fgmx.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-52gf-6rpq-fgmx
Aliases
Published
2026-09-02T23:44:51Z
Modified
2026-09-03T00:30:05Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
OpenChoreo: Cross-project command execution and wirelog view access via OpenChoreo openchoreo-api exec and wirelogs endpoints
Details

Summary

The OpenChoreo API server (openchoreo-api) authorized requests to its exec and wirelogs endpoints against the project supplied by the caller in the request, rather than against the project that actually owns the target component. The target component was resolved by name only, and the authorization engine decided purely from the caller-supplied resource hierarchy — the component's real owning project was never checked. As a result, an authenticated user who holds a project-scoped exec or log-viewing grant on any single project could run commands in, and read the wirelogs of, components owned by other projects in the same namespace.

Impact

An authenticated tenant holding a project-scoped component:exec grant on just one project can execute arbitrary commands — including an interactive shell — inside the running pods of components owned by any other project in the same namespace. This exposes those workloads' environment variables and mounted Secrets (such as database credentials, API keys, and tokens), allows tampering with the workload, and enables further pivoting using the workload's own network position and credentials. The same flaw in the wirelogs endpoint lets a project-scoped wirelogs:view grant read any component's wirelogs in the namespace.

The blast radius is every component in the namespace, reachable from a single legitimate project grant. The boundary crossed is project-within-namespace: the request still pins the namespace, so the issue does not cross namespace boundaries. In effect this is a cross-project (cross-team) remote command-execution and data-access primitive available to any low-privileged tenant.

Patches

Fixed in 1.2.3 and 1.1.6. The fix aligns the exec and wirelogs endpoints with the pattern already used by other first-class component operations: the target component is fetched first and authorization is evaluated against its real owning project (comp.Spec.Owner.ProjectName) instead of the caller-supplied project query parameter.

Workarounds

If you cannot upgrade immediately:

  • Restrict component:exec and wirelogs:view grants to trusted operators only. Any holder of such a grant on any project can reach every component in the same namespace.
  • Where stronger isolation is required, separate sensitive components into their own namespaces, since the flaw does not cross namespace boundaries.

Related advisories

Database specific
{
    "cwe_ids": [
        "CWE-639",
        "CWE-863"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-02T23:44:51Z",
    "nvd_published_at": "2026-08-13T22:17:28Z",
    "severity": "HIGH"
}
References

Affected packages

Go / github.com/openchoreo/openchoreo

Package

Name
github.com/openchoreo/openchoreo
View open source insights on deps.dev
Purl
pkg:golang/github.com/openchoreo/openchoreo

Affected ranges

Type
SEMVER
Events
Introduced
1.2.0-m.1
Fixed
1.2.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-52gf-6rpq-fgmx/GHSA-52gf-6rpq-fgmx.json"

Go / github.com/openchoreo/openchoreo

Package

Name
github.com/openchoreo/openchoreo
View open source insights on deps.dev
Purl
pkg:golang/github.com/openchoreo/openchoreo

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-52gf-6rpq-fgmx/GHSA-52gf-6rpq-fgmx.json"