PatchClock

PHP security digest · 20 Nov 2026

Bolt ListFormatHelper SQL injection

Medium CVE-2026-77378

Package
bolt/core
Fixed in
6.1.4
Published
Fri 20 Nov 2026, 00:15 Lisbon
Installs on Packagist
161K

In plain words

A SQL injection flaw in Bolt's ListFormatHelper lets authenticated users with upload permission run arbitrary SQL queries and extract sensitive database contents. It affects the /async/select-options endpoint when general/caching/list_format is enabled.

Affected versions

PackageAffectedFixed in
bolt/core< 6.1.46.1.4

How serious is it?

Medium is a CVSS score of 4.0 to 6.9: real impact, but the attacker needs something first, such as an account, a particular setting or a user who clicks a link. If your site meets that condition, treat it as High; if not, ship the fix in your next planned release.

bolt/core has 161K installs on Packagist, so the advisory reaches a modest number of projects, which does not make yours any safer.

Am I affected?

Check composer.lock for bolt/core with a version below 6.1.4. If present, check whether general/caching/list_format is enabled and whether authenticated users have upload permission. The fix is in 6.1.4.

Did you install bolt/core, or did a dependency?

Composer says why a package is in your project:

composer why bolt/core

If the output names your own project, you required bolt/core directly and the update is yours to make. If it names another package, bolt/core came in through it, and that package's version constraint decides which release you can install. To see what stands between you and the fix, ask Composer directly:

composer why-not bolt/core 6.1.4

Every line it prints is a constraint that blocks 6.1.4. Update the package it names, or raise your own constraint, and run it again until it prints nothing.

What to do

Check which version you have, then update to a fixed release for your branch (6.1.4):

composer show bolt/core | grep versions
composer update bolt/core

If your version constraint in composer.json keeps you below a fixed release, raise it first. Whether your configuration is affected, and the exact version ranges, are in the advisory itself.

Check the whole project at once

Composer 2.4 and later can list every installed package with a known advisory, this one included once Packagist has it:

composer audit --locked

--locked reads composer.lock instead of the vendor folder, so you can run it on a release tag or in CI without installing anything. It exits with a non-zero code when it finds an advisory, which is enough to fail a build. Run it on every branch you still support, not only the newest: an older release your customers run is affected in the same way.

Under the Cyber Resilience Act

CRA Article 14 timeline: aware of exploitation at hour 0, early warning within 24 hours, notification within 72 hours, final report within 14 days after the fix.

No exploitation of this vulnerability is known, so on its own it does not start the Article 14 reporting clock, which covers actively exploited vulnerabilities. That changes if you learn it is being exploited through your product: then the 24-hour early warning applies.

Either way, if bolt/core ships inside a product you sell, the CRA treats its vulnerabilities as yours. Article 13(5) asks for due diligence on the components you include, and from 11 December 2027 Annex I asks you to ship security fixes without delay and free of charge for the support period you declared. A short note in your changelog saying which release updated bolt/core, and why, is the evidence you will want later.

What goes in each Article 14 report · Does the CRA apply to your product?

bolt/core's record

This is one of 5 advisories for bolt/core in the digest, the first published on 20 November 2026. A package with several advisories is not worse than one with none, which often just means nobody looked; it does tell you to keep it on your update list and to run composer audit after each update.

Other advisories for bolt/core

  • CVE-2026-77380 · 20 Nov 2026 · Medium · fixed in 6.1.5 Bolt: Prevent SSRF due to unchecked followed redirects
  • CVE-2026-77379 · 20 Nov 2026 · Medium · fixed in 6.1.4 Bolt: Information disclosure through unfiltered public relation API endpoint
  • CVE-2026-77377 · 20 Nov 2026 · Medium · fixed in 6.1.4 Bolt: Server-Side Request Forgery (SSRF) in URL-upload and embed endpoints
  • CVE-2026-77376 · 20 Nov 2026 · Medium · fixed in 6.1.4 Bolt: Open redirect enables post-authentication redirection to arbitrary domains

The advisory's description

Impact

SQL Injection in ListFormatHelper allows authenticated users with the upload permission to execute arbitrary SQL queries and exfiltrate sensitive database contents through the /async/select-options endpoint when general/caching/list_format is enabled.

Patches

This has been patched in Bolt 6.1.4.

Weakness: CWE-89 Improper Neutralization of Special Elements used in an SQL Command. Reported by Vondry.

CWE-89. SQL injection: input reaches a database query as SQL, so the attacker can read or change data the query was never meant to touch.

The advisory

From OSV.dev, which gathers the GitHub Advisory Database, FriendsOfPHP and Drupal security advisories; the summary is theirs. The description, affected versions, weakness and credits are from the GitHub Advisory Database (CC BY 4.0). "In plain words", "Am I affected?" and "If you cannot update yet" are based on that advisory, and checked to name no version it does not.