Jul 14, 2026·4 min read·14 visits
A missing authorization check in Nebula-mesh allows non-admin operators to toggle the 'allow_private' parameter on webhooks, bypassing SSRF guards and allowing them to target internal systems.
Nebula-mesh allows non-admin operators to disable webhook SSRF (Server-Side Request Forgery) protection via the allow_private parameter. Low-privilege operators can configure webhook endpoints targeting internal endpoints and trigger lifecycle events on resources they own, bypassing network access controls.
In Nebula-mesh, non-admin operators (possessing the role user) can register and manage webhook subscriptions. The API exposes POST and PATCH endpoints at /api/v1/webhook-subscriptions to handle the webhook subscription lifecycle.
A severe authorization gap exists in this design. When creating or updating a webhook subscription, operators can set the parameter allow_private: true on their subscription requests. The backend fails to verify whether the operator has administrative privileges before persisting this parameter.
At the event delivery phase, when an event is fired, the event dispatcher checks the AllowPrivate field of the target subscription. If AllowPrivate is false, the dispatcher uses a guarded HTTP client that validates the destination URL and rejects loopback, private, and link-local addresses. If AllowPrivate is true, the dispatcher switches to an unguarded HTTP client, completely bypassing the Server-Side Request Forgery (SSRF) defenses.
The technical root cause of this vulnerability lies in the missing role-based access control (RBAC) within the webhook creation and modification controllers. In the file internal/api/webhooks.go, the handlers handleCreateWebhookSubscription and handleUpdateWebhookSubscription unpack client-provided payloads into internal model structs without filtering administrative toggles.
Specifically, the application defines a parameter named allow_private which allows requests to target loopback and RFC 1918 private subnets. Although the application contains a helper function s.isActiveAdmin(r.Context()) to enforce administrative restrictions on other handlers, this validation check was omitted from the webhook endpoints.
This structural oversight allows low-privilege operator sessions to successfully register endpoints matching loopback (127.0.0.1, localhost), private (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), and link-local networks. The application then trustingly maps these configurations to an unguarded HTTP delivery engine during asynchronous event dispatch operations.
The vulnerability is resolved by explicitly introducing s.isActiveAdmin(r.Context()) verification before checking the validation rules of the incoming webhook configuration request.
Below is the code difference from the patched file internal/api/webhooks.go:
@@ -70,6 +70,10 @@ func (s *Server) handleCreateWebhookSubscription(w http.ResponseWriter, r *http.
writeError(w, http.StatusBadRequest, "invalid request body")
return
}
+ if req.AllowPrivate && !s.isActiveAdmin(r.Context()) {
+ writeError(w, http.StatusForbidden, "allow_private requires the admin role")
+ return
+ }
if err := config.ValidateWebhookURL("url", req.URL, req.AllowPrivate); err != nil {
writeError(w, http.StatusBadRequest, err.Error())
return
@@ -120,6 +124,10 @@ func (s *Server) handleUpdateWebhookSubscription(w http.ResponseWriter, r *http.
if req.URL == "" {
req.URL = sub.URL
}
+ if req.AllowPrivate && !s.isActiveAdmin(r.Context()) {
+ writeError(w, http.StatusForbidden, "allow_private requires the admin role")
+ return
+ }
if err := config.ValidateWebhookURL("url", req.URL, req.AllowPrivate); err != nil {
writeError(w, http.StatusBadRequest, err.Error())
returnWhile the patch successfully eliminates the direct authorization bypass on the allow_private parameter, organizations should evaluate remaining edge cases. The application relies on standard HTTP client resolution, which may be susceptible to DNS Rebinding variants if the destination hostname resolves to a public address during validation and a local address during socket connection.
Exploitation requires the attacker to possess an active session token with the base non-admin user role. Using this session, the attacker can configure and trigger the SSRF sequence.
To construct the bypass, the attacker submits a structured registration payload specifying allow_private set to true and pointing the delivery destination to an internal network target:
POST /api/v1/webhook-subscriptions HTTP/1.1
Host: 127.0.0.1:8181
Authorization: Bearer d984bbe6680a9b3f57def0caf8556466e502d35c8c287bd2f1fd6938fcda2e7c
Content-Type: application/json
{
"url": "http://127.0.0.1:9999/internal-admin",
"allow_private": true,
"events": ["host.enrolled"]
}Once registered, the attacker triggers an event associated with the subscription (e.g., enrolling or unblocking a host resource). The server processes the event, retrieves the subscription payload, and executes an asynchronous, blind POST request using its unguarded client. The attacker can subsequently poll the /api/v1/webhook-subscriptions/{id} endpoint to view the request dispatch status, using the returned error metrics as a rudimentary port scanner and reachability oracle.
The impact of this vulnerability is severe because it allows low-privilege actors to query restricted internal infrastructure directly from the host operating the Nebula-mesh service.
This network reachability bypasses firewalls and network segmentation rules. Attackers can interact with loopback management interfaces, probe ports on peer network hosts, or query Cloud Metadata Services (e.g., IMDSv1 at 169.254.169.254) to exfiltrate administrative IAM credentials.
Because the webhook dispatch mechanism processes responses and populates debugging information in the subscription metadata, the attacker gains a functional infrastructure scanning and enumeration vector. This allows them to systematically map internal services, potentially preparing for secondary exploits against vulnerable private APIs.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N| Product | Affected Versions | Fixed Version |
|---|---|---|
github.com/forgekeep/nebula-mesh forgekeep | >= 0.6.0, <= 0.7.1 | 0.7.2 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-862, CWE-918 |
| Attack Vector | Network |
| CVSS v3.1 Score | 7.7 |
| Exploit Status | poc |
| Impact | Server-Side Request Forgery (SSRF) |
The web application receives a user-supplied URL, passes it through, and makes a request to it on behalf of the attacker, bypassing security boundaries.
An unauthenticated Denial of Service vulnerability exists in the s2n-quic library's CryptoStream reassembler due to a lack of buffer limits on out-of-order cryptographic frames. An attacker can transmit a crafted CRYPTO frame with an extremely high offset and nominal payload, forcing the receiver to execute unbounded memory allocations and causing service crashes.
A JNDI Injection and Deserialization Gadget vulnerability exists in mchange-commons-java prior to version 0.6.0. The com.mchange.v2.naming.JavaBeanObjectFactory component permits arbitrary class instantiation and setter invocation, allowing attackers to perform Server-Side Request Forgery (SSRF) and remote class loading.
SurrealDB versions supporting element-level SELECT permissions on arrays are vulnerable to a logical authorization bypass. Due to an index-shifting error during array filtration, restricted elements can skip permission checks and leak to unauthorized record users.
CVE-2026-12243 is a path traversal vulnerability in the Natural Language Toolkit (NLTK) version 3.9.4. The flaw exists because the input validation routine fails to account for percent-encoded directory traversal sequences like '..%2f' before passing them to urllib.request.url2pathname(), which decodes them into active traversal sequences.
CVE-2026-73654 is a high-severity prototype pollution vulnerability in Trigger.dev. The flaw occurs during the handling of run-metadata updates through the PUT /api/v1/runs/:runId/metadata endpoint. Because user-supplied keys are parsed directly by the @jsonhero/path library without sanitization, an authenticated attacker with low privileges can pollute the global Object.prototype. This causes database queries via Prisma ORM to fail validation and induces unhandled exceptions in the Prometheus metrics client, resulting in a process-wide denial of service.
CVE-2026-73559 is an uncontrolled resource consumption vulnerability in the vLLM engine, specifically within the /v1/completions API endpoint, allowing authenticated attackers to cause application-level denial of service via unbounded prompt arrays.