On this page (7 sections)

A critical vulnerability, CVE-2026-138223, has been published for David-Crty Databasement, affecting versions up to and including 1.7.12. According to the NVD record, a function that builds toast notifications does not properly neutralize special elements before they reach a template engine, and the attack can be initiated remotely. The record lists a CVSS score of 10.

If you run a Databasement instance, especially one reachable from the internet, check your version and plan an upgrade to 1.7.13, which the NVD record names as the fixed version. This article explains what the record says, what is not known, and how to respond. The only source available for this write-up is the NVD description, so treat details beyond it as unconfirmed.

What was disclosed

The NVD entry, published on 2026-11-29, describes the problem in the function toast in the file app/Traits/Toast.php, part of what the record calls the Toast Notification Helper component. Manipulating the icon argument leads to improper neutralization of special elements used in a template engine. The record says the attack can be initiated remotely and that upgrading to version 1.7.13 fixes the issue.

The CVE record also lists several project links: a GitHub security advisory, a pull request, the fix commit and a v1.7.13 release tag. We did not review the contents of those pages, so details such as required privileges, user interaction or the exact nature of the change are not confirmed here.

The weakness in plain terms

Template engines turn a template plus some data into output such as a fragment of a web page. Template injection happens when input that should be treated as plain data is instead interpreted as part of the template itself. Depending on the engine and how it is configured, that can let an attacker influence what the server evaluates or renders.

Here, the input in question is the icon argument of a toast notification function. Code like this is easy to overlook because it looks cosmetic. The general lesson is that any value flowing into a template, even something as small as an icon name, needs to be validated or escaped.

The record does not say what an attacker could achieve in practice, such as code execution or data exposure. The CVSS score of 10 indicates a very high rated impact, but do not assume a specific outcome beyond what the record states.

Who is realistically exposed

  • Anyone running Databasement 1.7.12 or any earlier version.
  • Instances reachable from the internet, since the record states the attack can be initiated remotely.
  • Agencies and hosting administrators who deployed Databasement for clients and may not track its version.

Instances restricted to a private network, a VPN or an allowlist have a smaller exposure window, but they should still be upgraded, since a compromised device inside the network could reach them. Whether authentication is needed to reach the vulnerable function is not stated in the record.

How to check your exposure

Start by identifying every Databasement instance you operate and its version. The version may be visible in the application itself or in the release or image tag you deployed. Compare it with 1.7.13, the version the record names as fixed.

If you deployed from a Git checkout, this read-only command, run in the project directory, prints the nearest reachable tag, or an abbreviated commit hash if no tag is reachable. If the output has a suffix such as a commit count and hash after the tag name, your checkout is ahead of that tag:

Show the nearest tag for the checked-out commit (run in the Databasement project directory)Shell
git describe --tags --always

To check for an exact match instead, this read-only command lists any tags that point directly at the current commit. An empty result means the checkout is not exactly on a tagged release:

List tags pointing exactly at the current commit (run in the Databasement project directory)Shell
git tag --points-at HEAD

A tag of v1.7.12 or earlier means you are in the affected range. A tag of v1.7.13 or later is the fixed release named in the record. If you deploy through containers or another packaging method, check the image tag or release reference in your deployment configuration instead.

What to do now

  1. List every Databasement instance, including staging and client deployments, and record its version.
  2. Upgrade any instance running 1.7.12 or earlier to 1.7.13 or later. The NVD record links a v1.7.13 release tag; follow the project's own upgrade method for your deployment.
  3. Until you can upgrade, restrict access to the instance with a VPN, IP allowlist or authenticated reverse proxy so it is not open to the whole internet.
  4. After upgrading, confirm the running version again and test that notifications and normal workflows still work.
  5. Review web server and application logs from before the upgrade for unusual requests or unexpected errors around notification features.
  6. If you see signs of suspicious activity, rotate credentials and secrets stored in or reachable from the instance, and follow your incident process.
  7. Watch the project's GitHub repository for releases and advisories so future fixes reach you quickly.
Caution. Upgrading an application usually means restarting it. Schedule the change, take a backup of the application data and configuration first, and test in staging if you can.

Detection and monitoring afterwards

The research does not describe any exploitation, indicators of compromise or attack patterns, so there is no confirmed signature to search for. Practical monitoring is therefore general: watch for unexpected application errors, unusual spikes in requests to the application, new or changed files in the deployment, and unexpected outbound connections from the host.

From the outside, you can verify that only the services you intend are reachable. A Webforta Scan of a verified site gives you a read-only view of what is exposed, and certificate and header-change monitoring can alert you to unexpected changes on the hostnames that front your tools. Neither replaces patching, and neither is a specific detection for this flaw. For general response steps, see our guide on what to do if a website is hacked.

What is still unknown

  • Whether the flaw is being exploited. The research does not say either way; the CVE data shows no CISA KEV entry.
  • Which party assigned the CVSS 10 score and the exact vector. The record gives the number but the research does not break it down.
  • Whether authentication or particular user actions are required to reach the vulnerable function.
  • What the linked GitHub advisory, pull request and release contain. We did not review them, and only one independent publisher covers this story so far.

The NVD description is the only reference this article relies on. If you need certainty about your own exposure, read the GitHub advisory directly and apply the upgrade rather than waiting for more detail.

Sources

This article is based on the public sources below. Details can change as vendors and researchers publish more; check the original advisories before acting on version numbers.

  1. CVE-2026-138223: A security vulnerability has been detected in David-Crty Databasement up to 1.7.12.nvd.nist.gov ·
  • CVE-2026-138223
  • Databasement
  • template injection
  • critical vulnerability
  • patch management