Skip to main content

Mathesar CVE-2026-44719

| EUVDEUVD-2026-30587 MEDIUM
Missing Authorization (CWE-862)
2026-05-15 GitHub_M
5.3
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Mathesar user credentials
  2. Delivery
    Enumerate database_id values
  3. Exploit
    Request metadata API with unauthorized database_id
  4. Execution
    Extract form tokens from response
  5. Persist
    Submit crafted data via form token
  6. Impact
    Write to PostgreSQL under elevated role

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated user account on the Mathesar web application-the vulnerability cannot be exploited by unauthenticated remote attackers (CVSS PR:L confirms authentication requirement). The Mathesar installation must use collaboration features with multiple databases where users have restricted access, creating a meaningful privilege boundary to bypass. The attacker must identify or enumerate valid database_id values for databases where they are not listed as collaborators; this may require prior reconnaissance through error messages, timing attacks, or social engineering. Most impactful exploitation of form token exposure requires that target databases have public forms configured, as form tokens only provide submission capability for forms explicitly created with public access. The vulnerability is exploitable against default Mathesar configurations without requiring special feature flags or non-standard deployment modes. Attack surface is limited by network access to the Mathesar web interface and the authentication requirement, but no user interaction from victims is needed once the attacker has valid credentials.

Impact

Real-world risk is moderate with specific constraints. CVSS 4.0 score of 5.3 accurately reflects the attack profile: network-accessible (AV:N), low complexity (AC:L), but requires authenticated user access (PR:L) to the Mathesar installation. Impact is limited to confidentiality of metadata (VC:L) with no direct integrity or availability impact on the database itself. However, risk escalates in multi-tenant deployments where multiple teams use separate databases on a shared Mathesar instance-lateral movement between database contexts becomes trivial. The form token exposure presents the most concerning scenario: an attacker gaining a public form token obtains equivalent access to the form's submission endpoint, enabling writes under the form's PostgreSQL role without proper authorization. Attack complexity remains low since no special network position or user interaction is required, only a valid Mathesar account. Absence from CISA KEV and lack of public POC suggest no widespread exploitation, though the straightforward nature of parameter manipulation (simply changing database_id values in API calls) makes exploitation accessible to moderately skilled attackers. Primary risk is for organizations using Mathesar's collaboration features to segregate database access across teams or customers within a single installation. Single-user deployments or installations where all users legitimately access all databases face minimal risk.

Exploit ScenarioDerived

An authenticated attacker with a standard user account on a multi-tenant Mathesar installation identifies database_id values for databases belonging to other teams through enumeration or information disclosure. They craft API requests to explorations.list or forms.list endpoints, substituting database_id parameters with target database identifiers. The application returns metadata including saved query logic and form configurations without authorization checks. For forms, the attacker extracts a form token from the response, then uses this token to submit crafted data directly to the form endpoint, bypassing intended access controls and writing to PostgreSQL tables under the form's elevated role permissions.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 15, 2026

Authenticated users in Mathesar 0.2.0 through 0.9.x can access metadata for PostgreSQL databases where they lack collaborator privileges, due to missing authorization checks in four API methods (collaborators.list, tables.metadata.list, explorations.list, forms.list). Exposed data includes table schemas, saved explorations, form configurations, and critically, public form submission tokens that grant unauthorized database write access under the form's PostgreSQL role. Fixed in version 0.10.0. CVSS 5.3 (Medium) reflects network-accessible, low-complexity exploitation requiring only basic authentication. No public exploit code or active exploitation detected (EPSS data unavailable, not in CISA KEV).

RemediationAI

Upgrade to Mathesar version 0.10.0 or later, which implements proper authorization checks verifying collaborator status before returning database metadata from affected API endpoints. Download from the project's GitHub releases page at https://github.com/mathesar-foundation/mathesar/releases. For organizations unable to immediately upgrade, implement interim controls: restrict network access to the Mathesar installation to trusted networks only using firewall rules or reverse proxy authentication, limiting the pool of potential authenticated attackers. Audit existing user accounts and remove accounts that should not have any database access. Review form configurations and regenerate form tokens for public forms that handle sensitive data, then revoke previously issued tokens if the platform supports token rotation. Consider temporarily disabling public form features if form token exposure poses unacceptable risk. Monitor application logs for unusual API access patterns, specifically requests to collaborators.list, tables.metadata.list, explorations.list, or forms.list endpoints with database_id parameters for databases the requesting user should not access. Note that workarounds only reduce attack surface and do not eliminate the vulnerability-upgrading remains the definitive solution.

Affected VersionsENISA

mathesar 0.2.0, < 0.10.0

Affected Packages

euvd mathesar_0_2_0 fix: 0.10.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Mathesar is a web application providing a user interface layer over PostgreSQL databases with role-based collaboration controls. The vulnerability stems from CWE-862 (Missing Authorization), where four API endpoints accept a database_id parameter but fail to verify the authenticated user's collaborator status for that database before returning metadata. This authorization bypass occurs at the application layer-Mathesar's middleware does not enforce its own collaboration model before querying PostgreSQL-managed data. The affected endpoints expose different metadata types: collaborators.list reveals user-to-database mappings, tables.metadata.list exposes table schemas and Mathesar annotations, explorations.list reveals saved query configurations, and forms.list returns form definitions including security-critical form tokens. For public forms, these tokens serve as bearer credentials enabling anonymous form submission with the privileges of the form's configured PostgreSQL role, potentially allowing data insertion or modification beyond the attacker's intended access scope.

Know when Mathesar gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
May 15, 2026 - 20:02 EUVD
CVSS changed
May 15, 2026 - 19:22 NVD
5.3 (MEDIUM)

DescriptionGitHub Advisory

Mathesar is a web application that makes working with PostgreSQL databases both simple and powerful. From 0.2.0 to before 0.10.0, collaborators.list, tables.metadata.list, explorations.list, and forms.list accept a database_id without verifying that the requesting user was a collaborator on that database. An authenticated user on the same Mathesar installation could use these methods to view Mathesar-managed metadata for databases where they were not a collaborator. Depending on the database and features in use, exposed metadata could include collaborator mappings, table metadata, saved exploration metadata, and form metadata. For forms, the exposed metadata included form tokens. For public forms, possession of the token is equivalent to possession of the public form link, which allows submission to the form under the form’s configured PostgreSQL role. This vulnerability is fixed in 0.10.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy