CVE-2026-53603: nebula-mesh Operator Session Tokens Stored Vulnerability
HIGHCVE-2026-53603 is a HIGH operator session tokens stored vulnerability (CWE-312: Cleartext Storage of Sensitive Information) affecting nebula-mesh libraries in the Go ecosystem. The issue involves operator session tokens stored in plaintext in the database. Remediation is available by upgrading affected packages to version 0.3.8.
CVE-2026-53603 at a Glance
How to Fix CVE-2026-53603
To remediate this vulnerability, upgrade all affected nebula-mesh dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/forgekeep/nebula-mesh to 0.3.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/forgekeep/nebula-mesh
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-53603, inspect your project dependencies for nebula-mesh:
inspect dependencies for github.com/forgekeep/nebula-mesh
Analyze the terminal output to locate any version of nebula-mesh in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.3.8), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-312: Cleartext Storage of Sensitive Information, where the product stores sensitive information in cleartext within a resource that might be accessible to another control sphere. In nebula-mesh, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-53603 Affected nebula-mesh Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/forgekeep/nebula-mesh
|
Go |
< 0.3.8
|
0.3.8
|
References
Frequently Asked Questions
What is CVE-2026-53603?
Which nebula-mesh versions are affected?
What version fixes CVE-2026-53603?
Is github.com/forgekeep/nebula-mesh affected?
What CWE is associated with CVE-2026-53603?
How can I check Go dependencies for CVE-2026-53603?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q4vm-pq3q-8wgq",
"modified" : "2026-07-14T20:17:04Z",
"published" : "2026-07-14T20:17:04Z",
"aliases" : [ "CVE-2026-53603" ],
"summary" : "nebula-mesh: Operator session tokens stored in plaintext in the database",
"details" : "## Impact\n\nOperator session tokens are stored in plaintext in the `operator_sessions` table (the `token` column is the PRIMARY KEY). The session token is a 32-byte random hex value sent directly in a cookie and valid for 24 hours.\n\n- `internal/models/operator.go:61` — `OperatorSession.Token` holds the plaintext token.\n- `internal/store/sqlite_operators.go:590` — `CreateOperatorSession` inserts `sess.Token` verbatim.\n- `internal/store/sqlite_operators.go:603,642,681,698` — lookups/updates/deletes use `WHERE token = ?` against the plaintext value.\n\nAnyone who can read the database (backup, snapshot, file copy, or SQL-level disclosure) obtains every active session token and can hijack operator sessions directly, with no further authentication.\n\nThis is functionally identical to the plaintext enrollment-token issue fixed in GHSA-ghmh-jhmj-wcmf. API keys (`OperatorAPIKey.KeyHash`) and enrollment tokens (`EnrollmentToken.TokenHash`) already store only a SHA256 hash; session tokens were missed.\n\n## Patches\n\nStore only a SHA256 hash of the session token, mirroring API keys and enrollment tokens:\n1. Add a `HashSessionToken` helper (alongside the existing token-hash helpers).\n2. Migration to add a `token_hash` column.\n3. Update `CreateOperatorSession`, `PromoteOperatorSession`, and `GetOperatorBySession` to write/look up by hash.\n4. Drop the plaintext `token` column in a follow-up migration.\n\nSessions are ephemeral (24h TTL), so all active sessions can be invalidated on deployment — no backward compatibility needed.\n\n## Workarounds\n\nRestrict and encrypt database backups; rotate the operator database. These mitigate exposure but do not fix the underlying storage of plaintext tokens.\n\n## Resources\n\n- `internal/models/operator.go:58-66`\n- `internal/store/sqlite_operators.go:577-698`\n- Migration `005_operators.up.sql:27`\n- Prior related advisory: GHSA-ghmh-jhmj-wcmf",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/forgekeep/nebula-mesh"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.3.8"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.3.7"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/forgekeep/nebula-mesh/security/advisories/GHSA-q4vm-pq3q-8wgq"
}, {
"type" : "WEB",
"url" : "https://github.com/forgekeep/nebula-mesh/commit/7cb01bab281ded557f8b6c81dab5f48d4c10182e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/forgekeep/nebula-mesh"
}, {
"type" : "WEB",
"url" : "https://github.com/forgekeep/nebula-mesh/releases/tag/v0.3.8"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-312", "CWE-522" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-14T20:17:04Z",
"nvd_published_at" : null
}
}