Intel

AIKIDO-2026-685250

jekyll-remote-theme is vulnerable to Path Traversal

GHSA-3343-386p-v26gPublished Oct 5, 2026
October 5, 2026

65

CVE Score

Medium

Path Traversal

Are you affected? Scan for Free

TL;DR

jekyll-remote-theme accepts a local filesystem path for remote_theme (anything starting with /, ./, ../, ~/, or a drive letter), resolves it with File.expand_path, and only checks Dir.exist? without confining it to the site source. The plugin runs from Jekyll's :after_reset hook, so this happens even when the site is built with safe: true. A _config.yml that sets remote_theme to an absolute or ../ path makes the builder use that directory as the theme root, so its _includes, _layouts, _data, and assets are read into the build and copied into _site, disclosing any file the build user can read on a host that compiles untrusted sites. The fix rejects local theme paths when the site is in safe mode or its safe setting is unknown.

How do I fix this?

Upgrade the jekyll-remote-theme library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you build sites with untrusted _config.yml content in safe mode.

Versions

0.2.0 - 0.6.0

Fixed in 0.6.1

Background info

jekyll-remote-theme is vulnerable to Path Traversal in versions 0.2.0 - 0.6.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea