critical severityConfidence highHistorical record

Databasement toast helper compiles a caller's icon into a template, so a crafted icon runs PHP on the host (CVE-2026-138223)

Direct answer

Databasement toast helper compiles a caller's icon into a template, so a crafted icon runs PHP on the host (CVE-2026-138223), also tracked as CVE-2026-138223 / GHSA-76f6-wp5v-23c2 is a critical-severity threat campaign HOL Guard tracked from Sep 7, 2026 to Nov 29, 2026, verified against 4 primary sources and last reviewed Nov 30, 2026. Active tracking has ended and the record remains published as a permanent historical research record.

CVE-2026-138223 is a server-side template injection in David-Crty Databasement, in the toast function of app/Traits/Toast.php, affecting versions up to 1.7.12 and fixed by the commit the record names, shipped in 1.7.13; the maintainer advisory GHSA-76f6-wp5v-23c2 directs operators to upgrade to 1.7.14 or later. The flawed helper pasted a caller-controlled icon value into a Blade template string and compiled it, and because the toast helpers were public methods on the Livewire components, the sink was reachable by low-privilege callers and, on the public invitation page, without an account, giving remote code execution as the application user on a tool that holds the keys to the database credentials, SSH keys and object-store secrets it manages. VulDB rates the flaw 10.0 under CVSS 3.1 and CVSS 4.0; the advisory rates it 9.8 Critical under CVSS 3.1. This page gives operators the version and code readings that settle exposure, the invitation revocation and log hunt the advisory supports, the secret rotation that follows the upgrade, and the refused-call check the fix itself ships. The CVE is not in the CISA KEV catalog read for this page, and no source read here reports attacks in the wild.

Also tracked as CVE-2026-138223 · GHSA-76f6-wp5v-23c2

First observed
Sep 7, 2026
Last observed
Nov 29, 2026
Last reviewed
Nov 30, 2026
Tracking ended
Nov 29, 2026

Uncertainty and limitations

Read the evidence limits before acting on this record.

The patched boundary rests on the record and the advisory's version fields (1.7.13), while the advisory's prose names 1.7.14 as the upgrade target; both are stated on the page. HOL did not reproduce the injection.

  • The CVE record (VulDB) scores the flaw 10.0 under CVSS 3.1 with changed scope; the GitHub advisory scores it 9.8 with unchanged scope. Both readings are carried on the page.
  • The record and the advisory's version fields name 1.7.13 as the patched version; the advisory's prose directs operators to 1.7.14 or later, and 1.7.14 carries a second security fix.
  • The advisory withholds its proof of concept; the mechanism is stated from the advisory and the fix commit's diff.
  • No exploitation in the wild is reported by any source read for this page, and the CVE is absent from the CISA KEV catalog version read in this run.

Guard coverage and policy

What Guard's reviewed assertions do and do not claim for this campaign, and the reviewed starting points for defense.

Covered by Guard

  • provides evidence

    The campaign rests on the GitHub security advisory GHSA-76f6-wp5v-23c2 read firsthand, the fix commit 713f71f read firsthand including its Toast.php diff and its added security test, the NVD record for CVE-2026-138223 read firsthand through the NVD API, the v1.7.14 release notes, and the CISA KEV feed, all read in this run. HOL did not reproduce the injection. One coverage row stands for the single affected product, Databasement; the toast helper in app/Traits/Toast.php is the one affected component the record names.

  • Recipe available

    Upgrade Databasement to 1.7.14 or later (the CVE record's patched version is 1.7.13) on every instance running 1.7.12 or below, revoke outstanding unaccepted invitations, and rotate the managed database credentials, SSH keys and object-store secrets the instance can decrypt, because the toast helper in app/Traits/Toast.php compiled a caller-controlled icon value into a Blade template, giving remote code execution as the application user, reachable on a public page without an account (CVE-2026-138223)

    Instances already at 1.7.13 carry the record's fix; the advisory's prose names 1.7.14 or later as the upgrade target. The policy names the current release so both fixes land.

Safe next step. Campaign guidance is defensive context. It does not auto-apply policy or claim universal campaign coverage.

Timeline

Reviewed events, oldest first, each tied to a verified source.

  1. Disclosure

    Fix commit 713f71f5336663493e8c4dc07e7f3e96a291775b landed on September 6, 2026 through pull request 605: the toast helpers in app/Traits/Toast.php became protected methods, and the icon is validated against a strict pattern with a fixed fallback and passed to the icon component as a bound attribute instead of being concatenated into template source.

    Source:Fix commit 713f71f5336663493e8c4dc07e7f3e96a291775b (PR 605): toast helpers made protected, icon validated and bound as data in app/Traits/Toast.php

  2. Disclosure

    David-Crty published GitHub security advisory GHSA-76f6-wp5v-23c2 on September 7, 2026 (unauthenticated remote code execution via template injection in toast notifications, CVSS 3.1 9.8, CWE-94, proof of concept withheld), and release v1.7.14 followed the same day carrying a second security fix for invitation re-verification.

    Source:Databasement GitHub security advisory GHSA-76f6-wp5v-23c2: unauthenticated remote code execution via template injection in toast notifications, CVSS 3.1 9.8, CWE-94

  3. Disclosure

    The CVE record for CVE-2026-138223 was published on November 29, 2026, naming Databasement up to 1.7.12, the toast function in app/Traits/Toast.php, CWE-791, the VulDB CVSS 3.1 and 4.0 scores of 10.0, and version 1.7.13 as the fix.

    Source:NVD record for CVE-2026-138223 (VulDB CNA, CVSS 3.1 10.0, CVSS 4.0 10.0, CWE-791, fixed in 1.7.13)

  4. First observed

    Read in this run on November 30, 2026: the CISA KEV catalog at version 2026.11.27 holds 1,808 entries and no entry for CVE-2026-138223.

    Source:CISA Known Exploited Vulnerabilities catalog, version 2026.11.27 (CVE absent)

Publication clock: 2051.9 hours from reviewed disclosure timestamp to HOL publication; 12-hour critical target; historical backfill outside target.

Reviewed artifacts

The specific artifacts this record concerns, as reviewed. Names and versions are shown as text; a registry link is not recorded here.

  • David-Crty Databasement, app/Traits/Toast.php toast notification helper@up to 1.7.12githubpackage

Sources

Every claim on this record is traceable to the sources below.

Campaign questions, answered

CVE-2026-138223 is a server-side template injection in David-Crty Databasement, in the toast function of php, affecting versions up to HOL Guard tracked the campaign from Sep 7, 2026 to Nov 29, 2026.

No. Active tracking ended Nov 29, 2026; this page remains as a labeled historical research record and does not imply the threat is currently active.

The record cites 4 primary sources, names 1 reviewed artifact, and was last fully reviewed Nov 30, 2026 by HOL Guard Security Publishing. Its uncertainty and limitations are stated on the record itself.

Campaign guidance is defensive context. It does not auto-apply policy or claim universal campaign coverage. The campaign-specific policy starting point is linked from the coverage section of this record.

The permalink above is permanent. The full record can be downloaded from this page as JSON, an artifact CSV, and a STIX 2.1 bundle, and corrections can be requested through the published correction path on the record. The patched boundary rests on the record and the advisory's version fields (1.7.13), while the advisory's prose names 1.7.14 as the upgrade target; both are stated on the page. HOL did not reproduce the injection.

Reviewed in full by HOL Guard Security Publishing.

Published
Last full review
Last modified

Report a correction

Record HGTC-2026-6CBCFE05