---
id: "CVE-2026-124434"
page: "https://infrastack.ai/live/CVE-2026-124434"
kind: "vulnerability"
aliases: ["CVE-2026-124434"]
title: "Grav Lightbox Gallery plugin lets page editors read server secrets into pages"
severity: "high"
cvss: 7.1
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["grav", "lightbox-gallery", "package", "php", "self-hosted"]
not_affected_if: ["grav-1.x", "no-lightbox-plugin", "trusted-editors-only"]
published_at: "2026-11-08T14:18:09+00:00"
first_seen_at: "2026-11-08T14:48:38+00:00"
updated_at: "2026-11-08T14:49:52+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-124434", "first_seen_at": "2026-11-08T14:48:38+00:00"}]
exploit_sources: []
---

# Grav Lightbox Gallery plugin lets page editors read server secrets into pages

Link for people: https://infrastack.ai/live/CVE-2026-124434 (this .md is for agents)

The Grav Lightbox Gallery plugin calls any media method named in image, thumb or thumb_options shortcode values without the core allowed-action check. A page editor can chain addMetaFile with value, toYaml or toJson to copy server YAML files, such as password hashes, 2FA secrets and API keys, into a publicly viewable page.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed version of the Grav Lightbox Gallery plugin in the plugin's blueprint or `composer.json`, and confirm whether it is below `1.3.2`.
- Confirm the site runs Grav 2.x.
- Look for `lightbox` shortcode use in pages that editors can write.

## Fix

- Grav Lightbox Gallery plugin: `1.3.2` or later (per the advisory range, 1.1.0 before 1.3.2).

## Timeline

- 2026-11-08T14:48:38+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-124434

## Documents

- [advisory] Vendor advisory: github.com https://github.com/getgrav/grav/security/advisories/GHSA-jq4h-4q3q-hr32
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/grav-lightbox-gallery-1.1.0-before-1.3.2-file-read-via-shortcode-media-actions

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
