Skip to main content
← Vulnerabilities

Grav Lightbox Gallery 1.1.0 before 1.3.2 File Read via Shortcode Media Actions

Lightbox Gallery plugin 1.1.0 through 1.3.1 on Grav 2.x is exposed. CVSS scores it 7.1 (high), and no vendor rating is given. Fixed in Lightbox Gallery 1.3.2.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

7.1HighCNA
Exploited
No known exploitation
Fix
Fixed in 1.3.2
Who is exposed
Specific setups only

Do first: Check whether your setup matches what the bug needs. Lightbox Gallery plugin 1.1.0 through 1.3.1 installed on Grav 2.x Chaining requires the ampersand between the two actions to survive Markdown, e.g. process markdown false or the shortcode wrapped in an HTML block

Published
Last modified
15/100 · provisional
Specific setups only
None on Exploit-DB, Metasploit or GitHub

Summary

The Grav Lightbox Gallery plugin lets a page editor read server-side YAML files, such as account password hashes, 2FA secrets, and API keys, and expose their contents on a publicly viewable page. The attack is carried out remotely by a logged-in user with low privileges.

Read the original description

Grav Lightbox Gallery plugin 1.1.0 before 1.3.2 on Grav 2.x calls any medium method named in image, thumb or thumb_options shortcode values without core's allowed media action check. A page editor can chain addMetaFile with value, toYaml or toJson to read server-readable YAML files, such as account password hashes, 2FA secrets and API keys, into a publicly viewable page.

cve.now Index

15Pcve.now Index 15 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure8/25Specific setups only, reachable over the network
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity7.1/10CVSS 7.1
  • No patch0/5No signal

What would change the score

  • Would score about 65 if added to CISA KEV
  • Would score about 60 if CISA's SSVC rates exploitation active
  • Would score about 22 if CISA's SSVC rates it automatable

What to do

  • Check whether your setup matches what the bug needs.

    Lightbox Gallery plugin 1.1.0 through 1.3.1 installed on Grav 2.x Chaining requires the ampersand between the two actions to survive Markdown, e.g. process markdown false or the shortcode wrapped in an HTML block
  • Upgrade to a fixed version: 1.3.2.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • getgrav grav

    From 1.1.0 · fixed in 1.3.2

Evidence 2

  1. Advisory
  2. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-124434

Is CVE-2026-124434 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?

A page editor can abuse the Lightbox Gallery shortcode media actions to read server-side YAML files, such as account password hashes, 2FA secrets, plugin API keys and form submissions. The contents are then printed into the page HTML, where anonymous visitors can see them.Source: github.com

Which versions are affected by CVE-2026-124434?

grav: from 1.1.0 before 1.3.2.Source: cve.now feed data

Am I affected, and how do I check?

The advisory lists Lightbox Gallery 1.1.0 through 1.3.1 on Grav 2.x, and the product range is 1.1.0 before 1.3.2. A reader can check the installed Lightbox Gallery plugin version in the Grav admin plugins list, and the Grav version in the admin dashboard. Chaining also needs the ampersand between the two actions to survive Markdown, which happens with process markdown set to false or the shortcode wrapped in an HTML block.Source: github.com

How do I fix CVE-2026-124434?

Upgrade the Lightbox Gallery plugin to 1.3.2, which is the fixed version named in the advisory.Source: github.com