GO-2026-5987

Source
https://pkg.go.dev/vuln/GO-2026-5987
Import Source
https://vuln.go.dev/ID/GO-2026-5987.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-5987
Aliases
Published
2026-07-23T17:34:12Z
Modified
2026-07-23T18:00:23.848180658Z
Summary
Insecure enrollment token TTL in nebula-mesh in github.com/forgekeep/nebula-mesh
Details

The nebula-mesh Web UI host creation ignores the configured enrollment token TTL and instead mints 24-hour bearer enrollment tokens. This can lead to tokens remaining valid for longer than intended, increasing the window of opportunity for an attacker to use an intercepted token.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-5987"
}
References

Affected packages

Go / github.com/forgekeep/nebula-mesh

Package

Name
github.com/forgekeep/nebula-mesh
View open source insights on deps.dev
Purl
pkg:golang/github.com/forgekeep/nebula-mesh

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.5.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/forgekeep/nebula-mesh/internal/web",
            "symbols": [
                "Web.ServeHTTP",
                "Web.handleHostCreate"
            ]
        },
        {
            "path": "github.com/forgekeep/nebula-mesh/internal/api",
            "symbols": [
                "Server.ServeHTTP",
                "Server.tokenTTLFor"
            ]
        },
        {
            "path": "github.com/forgekeep/nebula-mesh/internal/cli",
            "symbols": [
                "Serve"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5987.json"

Go / github.com/juev/nebula-mesh

Package

Name
github.com/juev/nebula-mesh
View open source insights on deps.dev
Purl
pkg:golang/github.com/juev/nebula-mesh

Affected ranges

Type
SEMVER
Events
Introduced
0.3.0

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/juev/nebula-mesh/internal/web",
            "symbols": [
                "Web.ServeHTTP",
                "Web.handleHostCreate"
            ]
        },
        {
            "path": "github.com/juev/nebula-mesh/internal/api",
            "symbols": [
                "Server.ServeHTTP",
                "Server.tokenTTLFor"
            ]
        },
        {
            "path": "github.com/juev/nebula-mesh/internal/cli",
            "symbols": [
                "Serve"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5987.json"