Skip to main content

Databasement EUVDEUVD-2026-137744

| CVE-2026-138223 CRITICAL
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-11-29 VulDB GHSA-hxpc-43g8-6vp8
10.0
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Reach public toast sink unauthenticated
  2. Delivery
    Send Livewire update with crafted icon value
  3. Exploit
    Icon concatenated into Blade template string
  4. Execution
    Server compiles and executes arbitrary PHP
  5. Impact
    Decrypt and exfiltrate managed tenant secrets

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

The exact prerequisite is a caller-controlled value - the toast 'icon' argument in app/Traits/Toast.php - being concatenated into a Blade template string (Blade::render("<x-mary-icon ... name='".$icon."' />")) that the server compiles and executes. Because the toast/success/warning/error/info helper methods were declared public, the Livewire framework treated them as client-invokable component actions, and the method-call portion of the Livewire update request is not covered by the component snapshot integrity check, so the sink is reachable. Reachability is pre-authentication on one public component (and via outstanding, unaccepted invitations, whose tokens do not expire) and post-authentication by any role including the lowest-privilege one. What limits exploitation: the broadest unauthenticated path depends on exposure of that public page / live invitations, and the vendor states no configuration change makes affected versions safe - only upgrading (to 1.7.13 per NVD, or 1.7.14 per the GHSA advisory) fixes it; interim mitigations are revoking outstanding invitations and restricting network access to trusted operators.

Impact

All severity signals point the same direction: the input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with high impact to both the vulnerable system (VC/VI/VA:H) and subsequent systems (SC/SI/SA:H) scores 10.0, the vuln.today decision label is act_now, and the vendor's own GHSA advisory confirms unauthenticated remote code execution via server-side template injection. These are consistent, not conflicting, so this is a genuine priority rather than a high-CVSS-but-low-real-risk case. Two caveats temper the picture. First, no public exploit identified at time of analysis - the GHSA states a working proof of concept was intentionally withheld - and there is no KEV listing and no EPSS score in the input, so active or widespread exploitation is not evidenced; urgency here rests on the act_now label and the pre-auth RCE mechanism, not on observed attacks. Second, the data conflicts on fixed version: the NVD/VulDB description says affected up to 1.7.12 and fixed in 1.7.13, while the vendor GHSA advisory says all versions < 1.7.14 are affected and the fix lands in 1.7.14 - verify the authoritative fixed version with the vendor before concluding remediation. The real-world risk is also bounded by the product's small deployment footprint rather than by exploit difficulty.

Exploit ScenarioDerived

An attacker reaches the caller-controlled toast icon value - pre-authentication through a public Livewire component (and, per the advisory, via outstanding unaccepted invitations whose tokens do not expire), or post-authentication as any low-privilege role - and supplies an icon string that is concatenated into a Blade template the server then compiles and executes, yielding arbitrary PHP execution as the application user and decryption of managed database credentials, SSH keys, and object-store secrets. No public exploit identified at time of analysis; the vendor deliberately withheld a working proof of concept from the advisory.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 1.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 29, 2026

Server-side template injection in the Databasement PHP/Laravel application (all versions before 1.7.13/1.7.14) lets a caller execute arbitrary PHP as the application user by controlling the toast notification 'icon' argument. The vector is remote and unauthenticated (CVSS 4.0 AV:N/AC:L/AT:N/PR:N/UI:N, scored 10.0), and the vendor's GHSA advisory confirms the sink is reachable pre-authentication through one public Livewire component and post-authentication by any role, including the lowest-privilege one. Successful exploitation exposes the credentials Databasement manages - database passwords, SSH private keys, object-store secrets - and every tenant's backups, so confidentiality, integrity and availability are all lost; no public exploit code has been identified at time of analysis (the advisory withholds its proof of concept), but the vuln.today decision label is act_now and the vendor states no configuration change makes affected versions safe.

RemediationAI

Vendor-released patch: upgrade to v1.7.14 or later per the GHSA advisory (the CVE record and commit 713f71f5336663493e8c4dc07e7f3e96a291775b cite release tag v1.7.13), available at https://github.com/David-Crty/databasement/releases/tag/v1.7.13 and https://github.com/David-Crty/databasement/pull/605 - the vendor states no configuration change makes affected versions safe, so updating is the only complete fix. If upgrading is not immediately possible, the vendor's interim measures are to revoke any outstanding, unaccepted invitations, because invitation tokens do not expire and are a live exploit vector on affected versions, and to restrict network access to the instance to trusted operators until the upgrade is done. After upgrading, treat every secret a compromised instance could have decrypted as exposed and rotate the managed database credentials, SSH private keys and object-store secrets.

Affected VersionsENISA

Databasement 1.7.12
Databasement 1.7.8
Databasement 1.7.11
Databasement 1.7.4
Databasement 1.7.9
Databasement 1.7.5
Databasement 1.7.2
Databasement 1.7.1
Databasement 1.7.10
Databasement 1.7.7
Databasement 1.7.6
Databasement 1.7.0
Databasement 1.7.3

Affected Packages

euvd databasement no fix

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

Databasement is a Laravel application that renders Blade templates; Blade compiles template source into PHP, so any untrusted string that reaches template source becomes executable code. In app/Traits/Toast.php the toast() helper built an icon element with Blade::render("<x-mary-icon ... name='".$icon."' />"), concatenating a runtime value into the template string instead of binding it as data - the classic root-cause pattern behind CWE-1336 (improper neutralization of special elements used in a template engine), also tracked by the vendor as CWE-94 with a CWE-862 access-control contribution. Two conditions made the sink reachable: the toast/success/warning/error/info helpers were declared public, so Livewire exposed them as client-invokable component actions, and the method-call portion of a Livewire update request is not covered by the component snapshot integrity check. The upstream fix (commit 713f71f5, PR 605) does two things: it validates the icon against the strict allow-list regex \A[A-Za-z0-9._-]+\z with a fallback icon and passes it to the icon component as a bound attribute rather than as template source, and it moves the helpers from public to protected so they leave every component's client-callable API, with Blade call sites replaced by a JavaScript successToast() helper.

Know when Databasement 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

Vendor (VulDB) PRIMARY 10.0 CRITICAL
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 10.0 CRITICAL

Pre-auth network-reachable template-injection RCE (AV:N/AC:L/PR:N/UI:N); scope changed (S:C) because code execution as the app user compromises every tenant's secrets, with full C/I/A loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

DescriptionCVE.org

A security vulnerability has been detected in David-Crty Databasement up to 1.7.12. This impacts the function toast of the file app/Traits/Toast.php of the component Toast Notification Helper. The manipulation of the argument icon leads to improper neutralization of special elements used in a template engine. The attack can be initiated remotely. Upgrading to version 1.7.13 will fix this issue. The identifier of the patch is 713f71f5336663493e8c4dc07e7f3e96a291775b. The affected component should be upgraded.

Technical POC Analysis

The primary defect is CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical vulnerability in the Databasement PHP/Laravel application (all versions before 1.7.13/1.7.14) allows unauthenticated remote attackers to execute arbitrary code, potentially compromising all managed credentials and tenant backups. This puts the confidentiality, integrity, and availability of sensitive data at severe risk, requiring immediate leadership attention. The vendor has released patches, but no public exploit has been observed yet.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.0%
Top 38% exploitable
Prevalence
Low
niche open-source self-hosted credential/backup manager, small deployment footprint
Social Media
8
Sightings
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 CRITICAL
CISA KEV No
Public POC No
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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