{
  "id": "CVE-2026-134292",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-134292",
  "published_at": "2026-11-21T16:35:13.61Z",
  "title": "SurrealDB 1.0.0 before 4.0.0 Function Capability Bypass via JavaScript Built-in Bridge",
  "vendor": "surrealdb",
  "product": "surrealdb",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-11-24T01:03:54Z",
    "first_seen_at": "2026-11-24T01:30:52.165Z",
    "days_after_publication": 2.4,
    "repo": "cveForge/CVE-2026-134292",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "SurrealDB 1.0.0 before 4.0.0 contains a capability check bypass in its embedded JavaScript scripting engine, where the surrealdb.functions bridge calls the internal fnc::synchronous() and fnc::asynchronous() dispatchers without enforcing function capability checks. Authenticated users denied access to built-in functions in SurrealQL can execute them by calling them through surrealdb.functions from embedded JavaScript.",
  "cwe": "CWE-862",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [
    {
      "repo": "cveForge/CVE-2026-134292",
      "url": "https://github.com/cveForge/CVE-2026-134292",
      "created_at": "2026-11-24T01:03:54Z",
      "first_seen_at": "2026-11-24T01:30:52.165Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-11-23T15:47:28Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "surrealdb",
        "product": "surrealdb",
        "ranges": [
          "\u003e= 1.0.0, \u003c 4.0.0"
        ],
        "fixed_in": [
          "4.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade surrealdb to 4.0.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/surrealdb/surrealdb/security/advisories/GHSA-5w6j-qm42-4rc2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/signin",
      "body_markers": [
        "\"user\"",
        "\"pass\""
      ],
      "content_type": "application/json",
      "ports": [
        8000
      ],
      "protocol": "http",
      "repos": [
        "cveForge/CVE-2026-134292"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "cveForge/CVE-2026-134292/poc.py:36"
      ]
    },
    {
      "method": "POST",
      "path_template": "/sql",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        },
        {
          "name": "Db",
          "value": "test"
        },
        {
          "name": "Ns",
          "value": "test"
        }
      ],
      "content_type": "application/json",
      "ports": [
        8000
      ],
      "protocol": "http",
      "repos": [
        "cveForge/CVE-2026-134292"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "cveForge/CVE-2026-134292/poc.py:61"
      ]
    }
  ],
  "rules": []
}
