Databasement remote code execution in toast notification helper
- Exploited
- No known exploitation
- Fix
- Fix or patch referenced
- Who is exposed
- Not reported
Summary
A template-injection flaw in the Databasement application's toast notification helper lets an attacker run code on the server by manipulating the icon value. The attack can be carried out remotely, without logging in.
Written by a model
Original description
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.
Who should check
Teams running Databasement (David-Crty/databasement) before 1.7.14, especially instances exposing its Livewire pages to low-privilege or unauthenticated users
Not fixed by: Configuration changes do not make affected versions safe.
“Databasement before v1.7.14 contains a server-side template injection”
What to do
Apply the patch listed under Evidence.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-138223 (David-Crty Databasement Toast Notification Helper Toast.php toast special elements in template engine), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-138223 (entry last updated 2026-11-29):
Affected:
- David-Crty Databasement: versions 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.7.11 and 1 more
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- Databasement versions before 1.7.14 (source: https://github.com/David-Crty/databasement/security/advisories/GHSA-76f6-wp5v-23c2)
- Toast helper methods were public on Livewire components, so they were callable as client actions (source: https://github.com/David-Crty/databasement/security/advisories/GHSA-76f6-wp5v-23c2)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: network access, no login, no user action.
CISA KEV: CVE-2026-138223 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-138223 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/David-Crty/databasement/pull/605
- https://github.com/David-Crty/databasement/commit/713f71f5336663493e8c4dc07e7f3e96a291775b
- https://github.com/David-Crty/databasement/releases/tag/v1.7.13
- https://vuldb.com/vuln/445092
- https://vuldb.com/vuln/445092/cti
- https://vuldb.com/cve/CVE-2026-138223
- https://vuldb.com/submit/1074298
- https://github.com/David-Crty/databasement/security/advisories/GHSA-76f6-wp5v-23c2
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-138223
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-138223"}.Affected versions
- David-Crty Databasement1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.7.11, 1.7.12
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure17/25No login or user action needed, reachable over the network without a login · Unknown: Advisories don't say whether default setups are affected
- Reach?/20Unknown. No tracked technology or package matched
- Severity10/10CVSS 10.0
- No patch0/5No signal
What would change the score
- Would score about 72 if added to CISA KEV
- Would score about 67 if CISA's SSVC rates exploitation active
- Would score about 32 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- Posted on X by cve.now
Evidence 11
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · David-Crty/databasement · Advisory GHSA-76f6-wp5v-23c2 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-138223 |
| Record | NVD · CVE-2026-138223 |
| Other links 8 | |
| Advisory | VulDB · Advisory #445092 |
| Advisory | VulDB · Threat intelligence #445092 |
| Advisory | VulDB · CVE-2026-138223 record |
| Advisory | VulDB · Submission #1074298 |
| Patch | GitHub · David-Crty/databasement · Pull request #605 |
| Patch | GitHub · David-Crty/databasement · Commit 713f71f5 |
| Patch | GitHub · David-Crty/databasement · Release v1.7.13 |
| Repository | GitHub · David-Crty/databasement · Repository |
Questions about CVE-2026-138223
Is CVE-2026-138223 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
What does this mean?
The Toast helper methods on Databasement's Livewire components were public, so they could be called as client actions. This server-side template injection gives arbitrary PHP execution as the application user, which could expose managed database passwords, SSH keys and object-store secrets.
Source: github.com
Which versions are affected by CVE-2026-138223?
Databasement: versions 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4 and 8 more.
Source: cve.now feed data
Am I affected, and how do I check?
The advisory lists Databasement versions before 1.7.14 as affected. To compare an installed copy, check its Databasement version against that cutoff.
Source: github.com
How do I fix CVE-2026-138223?
The checked facts do not name a fixed version or vendor patch identifiers, so no upgrade target can be given here. Check the vendor's advisory for the current fix status.
Source: github.com
Related
- CVE-2026-121939Databasement before 1.10.9 Account Takeover via OIDC Email Auto-Linking
- CVE-2026-95654Databasement before 1.7.14 Authorization Bypass via Stale Invitation Token
- CVE-2026-108963databasement before 1.8.2 allows remote code execution because it runs certain commands (e.g., mariadb-dump) with a database name that can b
- CVE-2026-103534David-Crty databasement Snapshot Model snapshots SnapshotPolicy.view access control
- CVE-2026-138224David-Crty Databasement SafeDumpFlags.php violation argument injection
- CVE-2026-111875David-Crty Databasement Scheduled Restore SaveScheduledRestoreRequest.php authorization
No corrections so far. Something wrong on this page? Report an error.