Skip to content
Heist/ feed
Back to feed
MediumFix available

Arcane: Environment access token bypasses the admin-required authorization gate on `/api/debug/pprof`

Type: advisorySources: OSV2 source records

## Summary Arcane v2.10.2 contains an authorization inconsistency in `AuthMiddleware.managerAuth`. When a request supplies a valid environment access token through the `X-Arcane-Agent-Token` header, `managerAuth` resolves the associated environment, installs an environment-scoped permission set, and immediately calls `next(c)`. This occurs before the middleware evaluates the `AdminRequired` option and verifies that the caller is a global administrator. As a result, an environment-scoped access token can access routes protected with `WithAdminRequired()`, despite the corresponding `EnvironmentPermissionSet` intentionally containing no global or sudo permissions. In v2.10.2, the affected admin-only surface is the manager's Go `pprof` diagnostic interface under: `/api/debug/pprof/*` This exposes diagnostic and runtime profiling information that the application explicitly intends to restrict to global administrators. The issue is an incorrect authorization vulnerability (CWE-863). ## Details ### 1. Environment access tokens are accepted by the manager authentication middleware The production authentication middleware is configured with an environment access-token resolver: `backend/internal/di/providers.go` Conceptually, the middleware is constructed as: ```go auth.NewAuthMiddleware(authService, cfg). WithApiKeyValidator(apiKey). WithEnvironmentAccessTokenResolver(env). WithPermissionResolver(role) ``` Therefore, the `X-Arcane-Agent-Token` authentication path is active in the pro

Products
github.com/getarcaneapp/arcane/backend, github.com/getarcaneapp/arcane/backend/v2
Affected versions
Not specified
Fixed versions
2.11.0
CVEs
CVE-2026-96628
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 08:44 UTC · Revision 1

Source evidence

Arcane: Environment access token bypasses the admin-required authorization gate on `/api/debug/pprof`

core-osv · Original source

Published 16 Oct 2026, 21:12 UTC

## Summary Arcane v2.10.2 contains an authorization inconsistency in `AuthMiddleware.managerAuth`. When a request supplies a valid environment access token through the `X-Arcane-Agent-Token` header, `managerAuth` resolves the associated environment, installs an environment-scoped permission set, and immediately calls `next(c)`. This occurs before the middleware evaluates the `AdminRequired` option and verifies that the caller is a global administrator. As a result, an environment-scoped access token can access routes protected with `WithAdminRequired()`, despite the corresponding `EnvironmentPermissionSet` intentionally containing no global or sudo permissions. In v2.10.2, the affected admin-only surface is the manager's Go `pprof` diagnostic interface under: `/api/debug/pprof/*` This exposes diagnostic and runtime profiling information that the application explicitly intends to restrict to global administrators. The issue is an incorrect authorization vulnerability (CWE-863). ## Details ### 1. Environment access tokens are accepted by the manager authentication middleware The production authentication middleware is configured with an environment access-token resolver: `backend/internal/di/providers.go` Conceptually, the middleware is constructed as: ```go auth.NewAuthMiddleware(authService, cfg). WithApiKeyValidator(apiKey). WithEnvironmentAccessTokenResolver(env). WithPermissionResolver(role) ``` Therefore, the `X-Arcane-Agent-Token` authentication path is active in the pro

osv:GHSA-mp22-58ff-6fhr

github.com/getarcaneapp/arcane/backend/v2

Fixed versions: 2.11.0

Complete source record
{
  "id": "fb59721dec65286bab5a4f496ed74b612d23c739383ca4739ed379afa12cf988",
  "url": "https://osv.dev/vulnerability/GHSA-mp22-58ff-6fhr",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Arcane: Environment access token bypasses the admin-required authorization gate on `/api/debug/pprof`",
    "summary": "## Summary Arcane v2.10.2 contains an authorization inconsistency in `AuthMiddleware.managerAuth`. When a request supplies a valid environment access token through the `X-Arcane-Agent-Token` header, `managerAuth` resolves the associated environment, installs an environment-scoped permission set, and immediately calls `next(c)`. This occurs before the middleware evaluates the `AdminRequired` option and verifies that the caller is a global administrator. As a result, an environment-scoped access token can access routes protected with `WithAdminRequired()`, despite the corresponding `EnvironmentPermissionSet` intentionally containing no global or sudo permissions. In v2.10.2, the affected admin-only surface is the manager's Go `pprof` diagnostic interface under: `/api/debug/pprof/*` This exposes diagnostic and runtime profiling information that the application explicitly intends to restrict to global administrators. The issue is an incorrect authorization vulnerability (CWE-863). ## Details ### 1. Environment access tokens are accepted by the manager authentication middleware The production authentication middleware is configured with an environment access-token resolver: `backend/internal/di/providers.go` Conceptually, the middleware is constructed as: ```go auth.NewAuthMiddleware(authService, cfg). WithApiKeyValidator(apiKey). WithEnvironmentAccessTokenResolver(env). WithPermissionResolver(role) ``` Therefore, the `X-Arcane-Agent-Token` authentication path is active in the pro",
    "evidence": "osv:GHSA-mp22-58ff-6fhr",
    "products": [
      {
        "name": {
          "value": "github.com/getarcaneapp/arcane/backend/v2",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.11.0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "GHSA-mp22-58ff-6fhr",
      "aliases": [
        "CVE-2026-96628",
        "GHSA-mp22-58ff-6fhr",
        "GO-2026-6806"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.11.0"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/getarcaneapp/arcane/backend/v2",
            "purl": "pkg:golang/github.com/getarcaneapp/arcane/backend/v2",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-mp22-58ff-6fhr/GHSA-mp22-58ff-6fhr.json"
          }
        }
      ],
      "modified": "2026-10-19T21:40:57.005773177Z",
      "provider": "osv",
      "references": [
        "https://github.com/getarcaneapp/arcane/security/advisories/GHSA-mp22-58ff-6fhr",
        "https://github.com/getarcaneapp/arcane/pull/3881",
        "https://github.com/getarcaneapp/arcane/commit/4fe4c7ed9483dff7d43e3c4bee6a92037ce886b4",
        "https://github.com/getarcaneapp/arcane",
        "https://github.com/getarcaneapp/arcane/releases/tag/backend/v2.11.0"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-863"
        ],
        "severity": "MODERATE",
        "github_reviewed": true,
        "nvd_published_at": null,
        "github_reviewed_at": "2026-10-16T21:12:03Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-96628",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 376759,
  "published_at": "2026-10-16T21:12:03+00:00"
}

Arcane: Environment access token bypasses the admin-required authorization gate on `/api/debug/pprof` in github.com/getarcaneapp/arcane/backend

core-osv · Original source

Published 19 Oct 2026, 21:08 UTC

Arcane: Environment access token bypasses the admin-required authorization gate on `/api/debug/pprof` in github.com/getarcaneapp/arcane/backend

osv:GO-2026-6806

github.com/getarcaneapp/arcane/backend

Fixed versions: Not specified

github.com/getarcaneapp/arcane/backend/v2

Fixed versions: 2.11.0

Complete source record
{
  "id": "1dabacd90e16391216a9a768f7aa9e19755b392b39f2b9cf009cbc82913d1ae5",
  "url": "https://osv.dev/vulnerability/GO-2026-6806",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Arcane: Environment access token bypasses the admin-required authorization gate on `/api/debug/pprof` in github.com/getarcaneapp/arcane/backend",
    "summary": "Arcane: Environment access token bypasses the admin-required authorization gate on `/api/debug/pprof` in github.com/getarcaneapp/arcane/backend",
    "evidence": "osv:GO-2026-6806",
    "products": [
      {
        "name": {
          "value": "github.com/getarcaneapp/arcane/backend",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "github.com/getarcaneapp/arcane/backend/v2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2.11.0",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "GO-2026-6806",
      "aliases": [
        "CVE-2026-96628",
        "GHSA-mp22-58ff-6fhr",
        "GO-2026-6806"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/getarcaneapp/arcane/backend",
            "purl": "pkg:golang/github.com/getarcaneapp/arcane/backend",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://vuln.go.dev/ID/GO-2026-6806.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2.11.0"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/getarcaneapp/arcane/backend/v2",
            "purl": "pkg:golang/github.com/getarcaneapp/arcane/backend/v2",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://vuln.go.dev/ID/GO-2026-6806.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-19T21:31:38.406114192Z",
      "provider": "osv",
      "references": [
        "https://github.com/getarcaneapp/arcane/security/advisories/GHSA-mp22-58ff-6fhr",
        "https://github.com/getarcaneapp/arcane/commit/4fe4c7ed9483dff7d43e3c4bee6a92037ce886b4",
        "https://github.com/getarcaneapp/arcane/pull/3881",
        "https://github.com/getarcaneapp/arcane/releases/tag/backend/v2.11.0"
      ],
      "provider_metadata": {
        "url": "https://pkg.go.dev/vuln/GO-2026-6806",
        "review_status": "UNREVIEWED"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-96628",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 376573,
  "published_at": "2026-10-19T21:08:35+00:00"
}