Skip to content

Bump yaml_elixir to 2.13.0 for CVE-2026-140436 - #5303

Open
manziosee wants to merge 2 commits into
OpenFn:mainfrom
manziosee:chore/bump-yaml-elixir
Open

manziosee wants to merge 2 commits into
OpenFn:mainfrom
manziosee:chore/bump-yaml-elixir

Conversation

@manziosee

@manziosee manziosee commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

This PR bumps yaml_elixir from 2.12.1 to 2.13.0 to fix CVE-2026-140436
(EEF-CVE-2026-140436, GHSA-598v-rvxm-fcp8, MEDIUM).

2.12.1 expands nested YAML aliases without a limit, so a crafted YAML file can
use up the server's memory. Lightning parses YAML in
Lightning.VersionControl (GitHub sync) and Lightning.Kickstart. The
advisory was published today and makes mix hex.audit fail, which fails the
CI lint job on every branch, main included.

2.13.0 carries the fix and fits the existing ~> 2.12 constraint, so only
mix.lock changes.

Validation steps

  1. mix deps.get && mix hex.audit passes (it fails on main).
  2. mix test on the YAML-related tests (GitHub sync, portability,
    provisioner, kickstart) passes: 1316 tests, 0 failures.
  3. The CI lint job goes green on this PR.

Additional notes for the reviewer

  1. Only mix.lock and the changelog change.
  2. Open PRs currently fail lint for this reason alone. Once this is merged,
    merging main into them clears it.

AI Usage

Please disclose whether you've used AI anywhere in this PR (it's cool, we just
want to know!):

  • I have used Claude Code
  • I have used another model
  • I have not used AI

You can read more details in our
Responsible AI Policy

Pre-submission checklist

  • I have performed an AI review of my code (we recommend using /review
    with Claude Code)
  • I have implemented and tested all related authorization policies.
    (e.g., :owner, :admin, :editor, :viewer)
    N/A: dependency bump only, no permission changes.
  • I have updated the changelog.
  • I have ticked a box in "AI usage" in this PR

yaml_elixir 2.12.1 expands nested YAML aliases without a limit, so a
crafted file can exhaust memory. The advisory fails mix hex.audit in CI
lint. 2.13.0 carries the fix and fits the existing ~> 2.12 constraint,
so only mix.lock changes.
@github-project-automation github-project-automation Bot moved this to New Issues in Core Dec 4, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New Issues

Development

Successfully merging this pull request may close these issues.

1 participant