Go vulnerabilities

Languages · sources: CVE.org/NVD + GitHub/OSV (go) · refreshes every minute

Period
Updating…

In the last 30 days, 110 Go vulnerabilities were published: 14 critical, 0 actively exploited. Most common weakness: incorrect authorization (CWE-863).

110vulnerabilities in 30 days
14critical
0exploited
Nov 24last published
CVSS score: 4.9 Severity: Medium Identifier: CVE-2026-102945GHSA-V6W5-38CF-PCV8 Aether Project amf: panic on an unrecovered NGAP goroutine Package: github.com/omec-project/amf fixed in 1.7.1-0.20260725031321-d28042aaaea0 Published Published

Aether Project AMF supports termination of NAS signalling, NAS ciphering & integrity protection, registration management, connection management, mobility management, access authentication and authorization, security context management. Prior to 3.1.6, a malformed NGAP PathSwitchRequest can contain a UESecurityCapabilities information element whose extensible APER bit-string representation has no bytes even though decoding reports no error. In ngap/handler.go, HandlePathSwitchRequest checks only whether the element is present before six index-zero reads of its encryption and integrity algorithm fields, causing an unrecovered panic in the NGAP receive goroutine and terminating the AMF. The described attacker is a rogue or compromised gNB on the N2 interface and additionally needs a registered UE's AMF-UE-NGAP-ID; a bare over-the-air UE cannot trigger the issue. This issue is fixed in version 3.1.6.

Exploitation
No known exploitation
EPSS
0.44% chance of exploitation in the next 30 days, higher than 30.1% of CVEs
CVSS
4.9 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Versions
< 1.7.1-0.20260725031321-d28042aaaea0 · fixed in 1.7.1-0.20260725031321-d28042aaaea0
Weakness
CWE-125, CWE-1284, CWE-248
Linked via
ecosystem package
Sources
NVD · GitHub · EPSS
Dates
published Nov 19, 2026 · first seen here 2 h ago
CVSS score: 4.7 Severity: Medium Identifier: CVE-2026-118658GHSA-23WF-92CP-8PCJ Echo has Arbitrary Scheme Injection in WWWRedirect/NonWWWRedirect Middlewares via X-Forwarded-Proto Package: github.com/labstack/echo/v5 fixed in 5.1.1 Published Published

Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Context.Scheme returns values from X-Forwarded-Proto, X-Forwarded-Protocol, or X-Url-Scheme without validating that they are supported web schemes. WWWRedirect and NonWWWRedirect use that value to construct a Location header, so an attacker controlling a forwarded scheme header can cause a redirect to use an arbitrary URI scheme. Exploitation requires an affected redirect middleware and user interaction with the response; the HTTPS-specific redirect variants hardcode HTTPS and are unaffected. This issue is fixed in 4.15.2 and 5.1.1.

Exploitation
No known exploitation
EPSS
0.30% chance of exploitation in the next 30 days, higher than 15.6% of CVEs
CVSS
4.7 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Versions
< 5.1.1 · fixed in 5.1.1
Weakness
CWE-601
Linked via
ecosystem package
Sources
NVD · GitHub · EPSS
Dates
published Oct 28, 2026 · first seen here 2 h ago
CVSS score: 4.4 Severity: Medium Identifier: CVE-2026-59831GHSA-8CG3-R6G9-FPG2 GitHub CLI gh codespace jupyter may allow code execution via unvalidated URLs from malicious Codespaces Package: github.com/cli/cli/v2 fixed in 2.96.0 Published Published New
Summary

A security vulnerability has been identified in GitHub CLI that could allow remote code execution when users connect to a malicious Codespace using the gh codespace jupyter command. The command opens JupyterLab by launching a URL in the user's browser, but that URL is supplied by a process running inside the Codespace and the CLI opens it without validating it.

The browser launcher accepts vscode:// and vscode-insiders:// links, so a malicious Codespace can return a crafted vscode:// URL. The CLI opens the link, the operating system hands it to VS Code, and VS Code acts on it, which can lead to code execution on the user's workstation.

This is a variant of CVE-2024-52308. That remediation validated the SSH connection details for gh codespace ssh and gh codespace logs, but did not cover the equivalent Jupyter code path.

Details

The vulnerability stems from the way GitHub CLI handles the server URL returned when starting a remote JupyterLab server:

  1. A user runs gh codespace jupyter -c <name>, expecting a normal https:// JupyterLab page.
  2. The CLI retrieves a server URL from a process inside the Codespace and opens it in the user's browser without confirming that it is a web address.
  3. A malicious Codespace returns a vscode:// link in place of the expected JupyterLab address. The operating system passes the link to VS Code.
  4. VS Code acts on the link. With a single trust prompt, this can result in code execution on the user's workstation.

The CLI trusts the URL provided by the Codespace and opens it as-is, without confirming that it is a loopback JupyterLab web address. The equivalent SSH commands received this validation in the CVE-2024-52308 fix, but the Jupyter command was not covered.

In v2.96.0, the GitHub CLI validates the Jupyter server URL before opening it, accepting only loopback http and https addresses.

Impact

Any user who runs gh codespace jupyter against an untrusted Codespace.

Successful exploitation requires the victim to accept one VS Code "open URL" or Workspace Trust prompt.

Remediation and Mitigation

  1. Upgrade gh to v2.96.0.
  2. Exercise caution when using gh codespace jupyter with untrusted Codespaces. Prefer Codespaces created from trusted sources, and prefer default or pre-built devcontainers.
Exploitation
No known exploitation
EPSS
0.33% chance of exploitation in the next 30 days, higher than 18.2% of CVEs
CVSS
4.4 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Versions
>= 2.10.0, < 2.96.0 · fixed in 2.96.0
Weakness
CWE-20, CWE-829
Linked via
ecosystem package
Sources
GitHub · EPSS
Dates
published Nov 24, 2026 · first seen here 2 h ago
CVSS score: 4.3 Severity: Medium Identifier: CVE-2026-58209GHSA-7QMQ-8CC4-HXWG NATS Server MQTT retained messages and QoS replay bypass subscription deny rules Package: github.com/nats-io/nats-server/v2 fixed in 2.14.3 (+1 branch) Published Published
Background

NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing.

The NATS Server MQTT support includes retained messages and QoS1+ durable delivery. NATS subscription permissions can allow broad wildcard subscriptions while denying more sensitive subjects.

Problem Description

MQTT retained message delivery and QoS1+ durable replay could deliver messages whose original topics matched a subscriber's configured subscribe deny rules.

Normal live delivery applied the delivery-time deny check. These MQTT delivery paths did not consistently recheck the concrete original topic before sending the MQTT PUBLISH to the subscriber.

The issue affects MQTT subscribers with broad wildcard subscribe permissions where more specific topics are denied. Normal live delivery can be blocked while retained or replayed delivery still sends the denied topic.

Affected Versions

Versions v2.14.2, v2.12.11 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.12.

Workarounds

No known workaround for deployments that require MQTT. Upgrade to a fixed release. Deployments not using MQTT are not affected.

References
Exploitation
No known exploitation
EPSS
0.34% chance of exploitation in the next 30 days, higher than 20.2% of CVEs
CVSS
4.3 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Versions
>= 2.14.0-RC.1, < 2.14.3 · fixed in 2.14.3 (and 1 older branch)
Weakness
CWE-863
Linked via
ecosystem package
Sources
GitHub · EPSS
Dates
published Nov 20, 2026 · first seen here 2 h ago
CVSS score: 4.3 Severity: Medium Identifier: CVE-2026-58214GHSA-4G68-3PWX-5VFJ NATS Server MQTT subscribe permission bypass exposes internal QoS 2 metadata Package: github.com/nats-io/nats-server/v2 fixed in 2.14.3 (+1 branch) Published Published
Background

NATS.io is a high performance open source pub-sub distributed communication technology, built for the cloud, on-premise, IoT and edge computing.

The NATS Server MQTT support uses internal $MQTT.* subjects to implement MQTT protocol features such as QoS handling.

Problem Description

An authenticated MQTT client could subscribe to an internal MQTT delivery subject that was not intended to be available to clients.

This bypassed configured subscribe permissions for that internal subject family and exposed MQTT QoS2 protocol metadata for sessions in the account. Message payloads were not exposed through this path.

This issue was related to an incomplete restriction on internal MQTT subjects. It affected MQTT users whose ordinary subscribe permissions would not otherwise allow access to those internal subjects.

Affected Versions

Versions v2.14.2, v2.12.7 and below are vulnerable. The issue is fixed in v2.14.3 and v2.12.8.

Workarounds

No known workaround for deployments that require MQTT. Upgrade to a fixed release. Deployments not using MQTT are not affected.

References
Exploitation
No known exploitation
EPSS
0.35% chance of exploitation in the next 30 days, higher than 20.9% of CVEs
CVSS
4.3 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Versions
>= 2.14.0-RC.1, < 2.14.3 · fixed in 2.14.3 (and 1 older branch)
Weakness
CWE-863
Linked via
ecosystem package
Sources
GitHub · EPSS
Dates
published Nov 19, 2026 · first seen here 2 h ago
CVSS score: 4.2 Severity: Medium Identifier: CVE-2026-119298GHSA-X89H-7H96-V88F croc: Overwrite-confirmation bypass via a crafted "croc-stdin-" filename on receive Package: github.com/schollz/croc/v11 fixed in 11.5.2 Published Published

croc is a tool that allows any two computers to simply and securely transfer files and folders. Prior to 11.5.2, the receive-side file-readiness loop in src/croc/croc.go treats any sender-controlled basename beginning with croc-stdin- as a trusted text-transfer artifact even when SendingText is false. This skips askReceiveOverwrite and rename handling for a predictable exact-name collision in the receiver's working directory, allowing a remote sender whose transfer the user accepts to overwrite or truncate a matching regular file through recipientInitializeFile, or to remove and replace a matching destination with an empty file or an in-directory symlink through createEmptyFileAndFinish, without confirmation. The impact is limited to pre-existing names in the croc-stdin- namespace that the sender can predict; other filenames retain the prompt, dotfiles outside that namespace are not reachable, and symlink targets remain confined to the receive directory. This issue is fixed in version 11.5.2.

Exploitation
No known exploitation
EPSS
0.32% chance of exploitation in the next 30 days, higher than 17.2% of CVEs
CVSS
4.2 out of 10 · source NVD (github.com)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
Versions
< 11.5.2 · fixed in 11.5.2
Weakness
CWE-73
Linked via
ecosystem package
Sources
NVD · GitHub · EPSS
Dates
published Oct 30, 2026 · first seen here 2 h ago
CVSS score: not rated Severity: Medium Identifier: GHSA-9PPR-WFW9-XVR2 Netfoil doesn't decrement TTL Package: github.com/tinfoil-factory/netfoil fixed in 0.6.1 Published Published
Exploitation
No known exploitation
EPSS
—
CVSS
not rated yet
Versions
>= 0.3.0, < 0.6.1 · fixed in 0.6.1
Weakness
CWE-672
Linked via
ecosystem package
Sources
GitHub
Dates
published Nov 3, 2026 · first seen here 2 h ago
CVSS score: 3.1 Severity: Low Identifier: CVE-2026-62683GHSA-PP88-JHWJ-5QH5 File Browser: Trailing-slash directory deletion leaves public shares active for recreated paths Package: github.com/filebrowser/filebrowser/v2 fixed in 2.63.17 Published Published

Summary

File Browser v2.63.15 can leave a public directory share behind when the shared directory is deleted through a path with a trailing slash. The share cleanup path calls DeleteWithPathPrefix(file.Path, userID), but the Bolt backend performs the database prefix query with the unnormalized argument before trimming the slash for boundary checks. For a stored share at /a, deleting /a/ queries for paths prefixed by /a/, so the exact /a share is never loaded and never deleted.

If a directory with the same path is later recreated, the stale public share becomes active again and exposes the new directory contents through the old public URL.

Impact

An authenticated user with share, download, and delete permissions can create a valid public share, delete the shared path with a trailing slash, and leave the public link in storage. The link is dormant while the path does not exist, but it exposes future content if the same path is recreated later. The final data exposure is unauthenticated through the public share URL.

This bypasses the intended lifecycle cleanup around public shares and is adjacent to the recent public-share path-existence and prefix-boundary fixes.

Reproduction

The following test was run against v2.63.15, commit be23ab3a15bf957928ecfed88de5ab67850c1b9c.

  1. Create a scoped user with share, download, and delete permissions.
  2. Create /a/old.txt in that user's scope.
  3. Store a valid public share row with Hash: "h", UserID: 1, and Path: "/a".
  4. Send an authenticated delete request for /a/ through the resource delete handler.
  5. Confirm the directory is deleted.
  6. Confirm share hash h still exists in storage.
  7. Recreate /a/future.txt.
  8. Request the public share handler at h/ and observe that the unauthenticated response includes future.txt.

Command used for the local proof:

go test ./http -run TestValidationTrailingSlashDeleteLeavesExactDirectoryShare -count=1 -v

Observed result:

=== RUN   TestValidationTrailingSlashDeleteLeavesExactDirectoryShare
--- PASS: TestValidationTrailingSlashDeleteLeavesExactDirectoryShare (0.03s)
PASS
ok  github.com/filebrowser/filebrowser/v2/http  0.044s

Root cause

storage/bolt/share.go queries the share index before normalizing the path:

func (s shareBackend) DeleteWithPathPrefix(pathPrefix string, userID uint) error {
    var links []share.Link
    if err := s.db.Prefix("Path", pathPrefix, &links); err != nil {
        ...
    }

    prefix := strings.TrimRight(pathPrefix, "/")

    for _, link := range links {
        if link.UserID != userID {
            continue
        }

        if link.Path != prefix && !strings.HasPrefix(link.Path, prefix+"/") {
            continue
        }
        ...
    }
}

For pathPrefix == "/a/", the database prefix query can return descendants such as /a/child, but it does not return the exact share path /a. The later TrimRight cannot delete the exact share because that row was not loaded from storage.

http/resource.go passes the request-derived path into this cleanup before removing the resource:

file, err := files.NewFileInfo(... Path: r.URL.Path ...)
...
err = d.store.Share.DeleteWithPathPrefix(file.Path, d.user.ID)
...
return d.user.Fs.RemoveAll(r.URL.Path)

A request for /a/ therefore removes the directory but misses the exact /a share row.

Remediation

Normalize the path before querying the share index, and cover both the exact normalized path and its descendants. Add regression tests where a stored share path /a is removed by DeleteWithPathPrefix("/a/", userID) and where DELETE /api/resources/a/ deletes the exact public share row.

Fixed in version 2.63.17.

Exploitation
No known exploitation
EPSS
0.32% chance of exploitation in the next 30 days, higher than 16.9% of CVEs
CVSS
3.1 out of 10 · source GitHub
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Versions
< 2.63.17 · fixed in 2.63.17
Weakness
CWE-863
Linked via
ecosystem package
Sources
GitHub · EPSS
Dates
published Nov 13, 2026 · first seen here 2 h ago
CVSS score: 2.9 Severity: Low Identifier: CVE-2026-55458GHSA-8QX7-J2V2-X6Q5 Caddy has an RFC 7230 §6.1 compliance issue / Hop-by-hop headers that leak through Package: github.com/caddyserver/caddy/v2 fixed in 2.11.5 Published Published

Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.5, the reverse proxy's finalizeResponse method in modules/caddyhttp/reverseproxy/reverseproxy.go handles an upstream 101 Switching Protocols response before running removeConnectionHeaders and the hopHeaders deletion loop used for ordinary responses. The early return invokes handleUpgradeResponse, which copies the upstream headers to the client and normalizes only WebSocket-specific header names. An attacker who controls or compromises a proxied WebSocket upstream can therefore cause hop-by-hop headers such as Alt-Svc, Keep-Alive, and Proxy-Authenticate, as well as headers named by Connection, to cross the proxy boundary. For HTTP/2 or HTTP/3 extended CONNECT, the upstream 101 response may be represented to the client as an ordinary successful response, increasing the chance that leaked headers are processed. This issue is fixed in version 2.11.5.

Exploitation
No known exploitation
EPSS
0.51% chance of exploitation in the next 30 days, higher than 36.4% of CVEs
CVSS
2.9 out of 10 · source NVD (github.com)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Versions
<= 2.11.4 · fixed in 2.11.5
Weakness
CWE-444
Linked via
ecosystem package
Sources
NVD · GitHub · EPSS
Dates
published Oct 28, 2026 · first seen here 2 h ago
CVSS score: not rated Severity: Low Identifier: GHSA-M3QR-FVP4-78XJ Arc has unauthenticated application log disclosure via /api/v1/logs Package: github.com/basekick-labs/arc fixed in 0.0.0-20260615165136-bb7d9761ad98 Published Published

Summary

Arc exposes GET /api/v1/logs without authentication even when authentication is enabled by default. The route is registered before the global Fiber authentication middleware, and the handler returns recent buffered application logs without performing its own authorization check.

Details

Arc applies the global auth middleware after calling server.RegisterRoutes():

  • cmd/arc/main.go:1598-1599 registers base routes via server.RegisterRoutes().
  • cmd/arc/main.go:1601-1618 configures and installs auth.NewMiddleware(...) later.

server.RegisterRoutes() registers GET /api/v1/logs as a base route:

  • internal/api/server.go:164-183 registers base health, metrics, and logs routes, including s.app.Get("/api/v1/logs", s.logsHandler).

The logs handler returns buffered logs without checking authentication or authorization:

  • internal/api/server.go:537-567 parses limit, level, and since_minutes, reads logger.GetBuffer().GetRecent(...), and returns JSON.
  • internal/logger/buffer.go:9-16 defines log entries returned to callers: timestamp, level, component, message, and caller.
  • internal/logger/buffer.go:33-39 creates a global log buffer holding the last 10,000 entries.
  • internal/api/server.go:540-558 permits up to limit=1000 and since_minutes=1440 in one unauthenticated request.

Authentication is enabled by default and /api/v1/logs is not listed as a public route:

  • internal/config/config.go:841-843 defaults auth to enabled.
  • internal/auth/middleware.go:29-41 public defaults are /health, /ready, /api/v1/auth/verify, and /metrics prefix; /api/v1/logs is not public.

However, Fiber route/middleware order makes the later middleware ineffective for an earlier exact route. Local verification against Fiber v2.52.13 showed a route registered before app.Use(...) returns 200 and the later middleware is not reached. Fiber’s router walks routes in declaration order and stops after the first matching route unless the handler calls c.Next(); logsHandler does not call c.Next().

Proof of concept

Safe local reproduction only; do not scan external infrastructure.

  1. Start Arc with default authentication enabled.
  2. Request logs without an Authorization header or x-api-key header:
curl -i 'http://127.0.0.1:8000/api/v1/logs?limit=1000&since_minutes=1440'

Expected vulnerable result:

HTTP/1.1 200 OK
Content-Type: application/json

{"timestamp":"...","count":...,"logs":[...]}
  1. Compare with a protected endpoint without credentials:
curl -i 'http://127.0.0.1:8000/api/v1/auth/tokens'

Expected protected result:

HTTP/1.1 401 Unauthorized

This demonstrates that default auth is active while /api/v1/logs bypasses it due to registration order.

Impact

An unauthenticated network attacker can retrieve recent application logs. Depending on deployment and log level, logs can disclose operational metadata such as component names, internal paths, database/measurement names, node identifiers, caller locations, request outcomes, and error details. This can assist further attacks and may expose sensitive data if any deployment logs secrets or user-controlled confidential data.

The audit did not confirm that the bootstrap admin token banner is captured by this endpoint; that banner is printed with fmt.Fprintf(os.Stderr, ...), while this endpoint reads the zerolog-backed application buffer.

Workarounds

Until patched, operators can restrict access to /api/v1/logs at a reverse proxy, firewall, ingress policy, or service mesh. If the endpoint is not needed, block it entirely.

Suggested fix

  • Move /api/v1/logs registration after global auth middleware and require an authenticated administrator; or
  • Add explicit route-level middleware: auth.RequireAdmin(authManager) for /api/v1/logs; and
  • Add a regression test that unauthenticated requests to /api/v1/logs return 401/403 while /health and /ready remain public.

References / evidence

  • cmd/arc/main.go:1598-1618
  • internal/api/server.go:164-183
  • internal/api/server.go:537-567
  • internal/auth/middleware.go:29-41
  • internal/config/config.go:841-843
  • internal/logger/buffer.go:9-16
  • internal/logger/buffer.go:33-39
Exploitation
No known exploitation
EPSS
—
CVSS
not rated yet
Versions
< 0.0.0-20260615165136-bb7d9761ad98 · fixed in 0.0.0-20260615165136-bb7d9761ad98
Weakness
CWE-200, CWE-306
Linked via
ecosystem package
Sources
GitHub
Dates
published Nov 3, 2026 · first seen here 2 h ago