Skip to content

Update tj-actions/verify-changed-files action to v17 [SECURITY] - #509

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github-tags-tj-actions-verify-changed-files-vulnerability
Open

Update tj-actions/verify-changed-files action to v17 [SECURITY]#509
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github-tags-tj-actions-verify-changed-files-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Type Update Change
tj-actions/verify-changed-files action major v10v17

Potential Actions command injection in output filenames (GHSL-2023-275)

CVE-2023-52137 / GHSA-ghm2-rq8q-wrhc

More information

Details

Summary

The tj-actions/verify-changed-files action allows for command injection in changed filenames, allowing an attacker to execute arbitrary code and potentially leak secrets.

Details

The verify-changed-files workflow returns the list of files changed within a workflow execution.

This could potentially allow filenames that contain special characters such as ; and ` (backtick) which can be used by an attacker to take over the GitHub Runner if the output value is used in a raw fashion (thus being directly replaced before execution) inside a run block. By running custom commands an attacker may be able to steal secrets such as GITHUB_TOKEN if triggered on other events than pull_request. For example on push.

Proof of Concept
  1. Submit a pull request to the repository with a new file injecting a command. For example $(whoami).txt would be a valid filename.
  2. Upon approval of the workflow (triggered by the pull request), the action will get executed and the malicious pull request filename will flow into the List all changed files tracked and untracked files step.
- name: List all changed files tracked and untracked files
  run: |
    echo "Changed files: $"

Example output:

##[group]Run echo "Changed files: $(whoami).txt"
  echo "Changed files: $(whoami).txt"�[0m
shell: /usr/bin/bash -e {0}

##[endgroup]
Changed files: runner.txt
Impact

This issue may lead to arbitrary command execution in the GitHub Runner.

Resolution
  • A new safe_output input would be enabled by default and return filename paths escaping special characters like ;, ` (backtick), $, (), etc for bash environments.

  • A safe recommendation of using environment variables to store unsafe outputs.

- name: List all changed files tracked and untracked files
  env:
     CHANGED_FILES: $
  run: |
    echo "Changed files: $CHANGED_FILES"
Resources

Severity

  • CVSS Score: 7.7 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

tj-actions/verify-changed-files (tj-actions/verify-changed-files)

v17.0.0

Compare Source

🔥 🔥 BREAKING CHANGE 🔥 🔥

A new safe_output input is now available to prevent outputting unsafe filename characters (Enabled by default). This would escape characters in the filename that could be used for command injection.

[!NOTE]
This can be disabled by setting the safe_output to false this comes with a recommendation to store all outputs generated in an environment variable first before using them.

Example
...
      - name: Verify Changed files
        uses: tj-actions/verify-changed-files@v16
        id: verify-changed-files
        with:
          safe_output: false # set to false because we are using an environment variable to store the output and avoid command injection.
      
      - name: List all changed tracked and untracked files
        env:
          FILES_CHANGED: ${{ steps.verify-changed-files.outputs.changed_files }}
        run: |
          echo "Changed files: $FILES_CHANGED
...

What's Changed

Full Changelog: tj-actions/verify-changed-files@v16...v17.0.0

v17

Compare Source

🔄 Update

  • Update README.md (eb6d385) - (Tonye Jack)

📝 Other

  • PR #​376: update peter-evans/create-pull-request action to v6 (9c9cfe3) - (repo-ranger[bot])
  • PR #​375: update tj-actions/glob action to v20 (5ef175f) - (repo-ranger[bot])

⚙️ Miscellaneous Tasks

  • deps: Update peter-evans/create-pull-request action to v6 (809c01f) - (renovate[bot])
  • deps: Update tj-actions/glob action to v20 (338873f) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v17.0.2 -> v17.1.0 (#​374)

Co-authored-by: jackton1 <jackton1@​users.noreply.github.com> (58f5ac7) - (tj-actions[bot])

v16.1.1

Compare Source

📦 Bumps

  • Bump actions/checkout from 4.1.0 to 4.1.1 (#​345)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.github.com>
(6d68896) - (dependabot[bot])

➕ Add

  • Create SECURITY.md (08975f0) - (Tonye Jack)

➖ Remove

  • Deleted .github/workflows/auto-approve.yml (7b7a3b8) - (Tonye Jack)
  • Deleted .github/workflows/greetings.yml (9f02ec6) - (Tonye Jack)

🔄 Update

  • Update README.md (bc950d8) - (Tonye Jack)
  • Update README.md (e302902) - (Tonye Jack)
  • Update README.md (2f947c4) - (Tonye Jack)
  • Update README.md (a6a8167) - (Tonye Jack)
  • Updated README.md
    (f151bce) - (jackton1)
  • Updated README.md
    (3571d65) - (jackton1)
  • Update README.md (126b949) - (Tonye Jack)
  • Updated README.md
    (47f2c87) - (jackton1)
  • Update update-readme.yml (14b9592) - (Tonye Jack)
  • Updated README.md
    (301fce7) - (jackton1)
  • Update README.md (1e75cac) - (Tonye Jack)
  • Update README.md (7149bbe) - (Tonye Jack)
  • Update README.md (78dc414) - (Tonye Jack)

📝 Other

  • feat: add safe_output input enabled by default

  • fix: migrate README to safe uses of interpolation

  • fix: also sanitize )

  • fix: remove sanitization of '

  • fix: also sanitize |

  • fix: also sanitize &

  • fix: also sanitize ; (498d3f3) - (Jorge)

⚙️ Miscellaneous Tasks

  • Update entrypoint.sh (#​357) (592e305) - (Tonye Jack)
  • deps: Update github/codeql-action action to v3 (2a4291a) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3.4.0 (2e93a84) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3.3.0 (0b8fb0e) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3.2.1 (31a31b1) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3.2.0 (50a568f) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3.1.1 (82a523f) - (renovate[bot])
  • deps: Update actions/checkout action to v4.1.1 (7adf061) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v16.1.0 -> v16.1.1
    (e9aaab7) - (jackton1)

v16.1.0

Compare Source

🐛 Bug Fixes

  • Bug with detecting deleted files (312b11e) - (Tonye Jack)
  • Use of deprecated set output (#​341) (1d6a375) - (Tonye Jack)

🔄 Update

  • Update README.md (5dc77cf) - (Tonye Jack)

📝 Other

⚙️ Miscellaneous Tasks

  • Test detecting deleted unstaged files (#​340) (54e20d3) - (Tonye Jack)
  • deps: Update tj-actions/auto-doc action to v3.1.0 (b7425dc) - (renovate[bot])
  • deps: Update actions/checkout action to v4.1.0 (3a64002) - (renovate[bot])
  • deps: Update actions/checkout digest to 8ade135 (5b70b3d) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v16.0.1 -> v16.1.0
    (bbade59) - (jackton1)

v16.0.1

Compare Source

🐛 Bug Fixes

  • github-actions: Remove old output syntax (#​326) (b414bdd) - (Stefan Hoth)

➕ Add

  • Add fail-if-changed option (#​321)
  • Add fail-if-changed option

  • Update entrypoint.sh

  • Update test.yml


Co-authored-by: Tonye Jack jtonye@ymail.com (167811b) - (Minecraftschurli)

➖ Remove

  • Deleted .github/ISSUE_TEMPLATE/feature_request.yaml (de69a3b) - (Tonye Jack)
  • Deleted .github/ISSUE_TEMPLATE/bug_report.yaml (ef39314) - (Tonye Jack)
  • Deleted .github/FUNDING.yml (1f41d5d) - (Tonye Jack)

🔄 Update

  • Updated README.md
    (e74de09) - (jackton1)
  • Updated README.md
    (c5f7ef3) - (jackton1)
  • Updated README.md (#​328)

Co-authored-by: jackton1 <jackton1@​users.noreply.github.com> (1b0a45f) - (tj-actions[bot])

  • Updated .github/FUNDING.yml (6d81f71) - (Tonye Jack)
  • Updated .github/FUNDING.yml (112c640) - (Tonye Jack)
  • Updated README.md
    (796d6c7) - (repo-ranger[bot])
  • Update README.md (427c15b) - (Tonye Jack)

📚 Documentation

  • Add stefanhoth as a contributor for code (#​330) (c93a8c1) - (allcontributors[bot])
  • Add Minecraftschurli as a contributor for code, doc, and test (#​327) (c508450) - (allcontributors[bot])

📝 Other

⚙️ Miscellaneous Tasks

  • deps: Update tj-actions/auto-doc action to v3.0.1 (a9b6fd3) - (renovate[bot])
  • deps: Update reviewdog/action-shellcheck action to v1.19 (0ca1c5c) - (renovate[bot])
  • deps: Update actions/checkout action to v4 (f5cda3c) - (renovate[bot])
  • deps: Update tj-actions/release-tagger action to v4 (8d52a63) - (renovate[bot])
  • deps: Update actions/checkout action to v3.6.0 (05e179b) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3 (ef0fde4) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v2.9.0 (3f2b60f) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v2.8.0 (54fe0b7) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v16.0.0 -> v16.0.1
    (c103512) - (jackton1)

v16.0.0

Compare Source

What's Changed

Full Changelog: tj-actions/verify-changed-files@v15...v16.0.0

v16

Compare Source

📦 Bumps

  • Bump actions/checkout from 4.1.0 to 4.1.1 (#​345)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@​users.noreply.github.com>
(6d68896) - (dependabot[bot])

➕ Add

  • Create SECURITY.md (08975f0) - (Tonye Jack)

➖ Remove

  • Deleted .github/workflows/auto-approve.yml (7b7a3b8) - (Tonye Jack)
  • Deleted .github/workflows/greetings.yml (9f02ec6) - (Tonye Jack)

🔄 Update

  • Update README.md (bc950d8) - (Tonye Jack)
  • Update README.md (e302902) - (Tonye Jack)
  • Update README.md (2f947c4) - (Tonye Jack)
  • Update README.md (a6a8167) - (Tonye Jack)
  • Updated README.md
    (f151bce) - (jackton1)
  • Updated README.md
    (3571d65) - (jackton1)
  • Update README.md (126b949) - (Tonye Jack)
  • Updated README.md
    (47f2c87) - (jackton1)
  • Update update-readme.yml (14b9592) - (Tonye Jack)
  • Updated README.md
    (301fce7) - (jackton1)
  • Update README.md (1e75cac) - (Tonye Jack)
  • Update README.md (7149bbe) - (Tonye Jack)
  • Update README.md (78dc414) - (Tonye Jack)

📝 Other

  • feat: add safe_output input enabled by default

  • fix: migrate README to safe uses of interpolation

  • fix: also sanitize )

  • fix: remove sanitization of '

  • fix: also sanitize |

  • fix: also sanitize &

  • fix: also sanitize ; (498d3f3) - (Jorge)

⚙️ Miscellaneous Tasks

  • Update entrypoint.sh (#​357) (592e305) - (Tonye Jack)
  • deps: Update github/codeql-action action to v3 (2a4291a) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3.4.0 (2e93a84) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3.3.0 (0b8fb0e) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3.2.1 (31a31b1) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3.2.0 (50a568f) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v3.1.1 (82a523f) - (renovate[bot])
  • deps: Update actions/checkout action to v4.1.1 (7adf061) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v16.1.0 -> v16.1.1
    (e9aaab7) - (jackton1)

v15.0.2

Compare Source

⚙️ Miscellaneous Tasks

  • deps: Update tj-actions/glob action to v17 (238896a) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v15.0.1 -> v15.0.2 (#​313)

Co-authored-by: jackton1 <jackton1@​users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@​users.noreply.github.com> (7f1b21c) - (tj-actions[bot])

v15.0.1

Compare Source

⚙️ Miscellaneous Tasks

  • deps: Update tj-actions/glob action to v17 (238896a) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v15.0.1 -> v15.0.2 (#​313)

Co-authored-by: jackton1 <jackton1@​users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@​users.noreply.github.com> (7f1b21c) - (tj-actions[bot])

v15.0.0

Compare Source

📦 Bumps

  • Bump peter-evans/create-pull-request from 5.0.1 to 5.0.2

Bumps peter-evans/create-pull-request from 5.0.1 to 5.0.2.


updated-dependencies:

  • dependency-name: peter-evans/create-pull-request
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...

Signed-off-by: dependabot[bot] support@github.com (c7e0237) - (dependabot[bot])

⚙️ Miscellaneous Tasks

  • Update action.yml (0409e18) - (Tonye Jack)
  • deps: Update reviewdog/action-shellcheck action to v1.18 (f732762) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v15.0.0 -> v15.0.1 (#​308)

Co-authored-by: jackton1 <jackton1@​users.noreply.github.com> (0dffb60) - (tj-actions[bot])

v15

Compare Source

⚙️ Miscellaneous Tasks

  • deps: Update tj-actions/glob action to v17 (238896a) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v15.0.1 -> v15.0.2 (#​313)

Co-authored-by: jackton1 <jackton1@​users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@​users.noreply.github.com> (7f1b21c) - (tj-actions[bot])

v14.0.2

Compare Source

🚀 Features

  • Add support for including git ignored files. (7b1e68c) - (Tonye Jack)

📦 Bumps

  • Bump peter-evans/create-pull-request from 5.0.0 to 5.0.1

Bumps peter-evans/create-pull-request from 5.0.0 to 5.0.1.


updated-dependencies:

  • dependency-name: peter-evans/create-pull-request
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...

Signed-off-by: dependabot[bot] support@github.com (6ed95ae) - (dependabot[bot])

🔄 Update

  • Updated README.md
    (dd9c6e5) - (repo-ranger[bot])
  • Update entrypoint.sh (2d62d9f) - (Tonye Jack)
  • Update entrypoint.sh (c9817eb) - (Tonye Jack)
  • Update entrypoint.sh (724895d) - (Tonye Jack)
  • Update entrypoint.sh (6147e34) - (Tonye Jack)
  • Update entrypoint.sh (8bcb04c) - (Tonye Jack)
  • Updated README.md
    (b78b21b) - (jackton1)
  • Update README.md (cd63f6a) - (Tonye Jack)
  • Updated README.md
    (87a456d) - (jackton1)
  • Update README.md (2929140) - (Tonye Jack)
  • Update README.md (6a6bb94) - (Tonye Jack)

📝 Other

⚙️ Miscellaneous Tasks

  • deps: Update actions/checkout action to v3.5.3 (f402bae) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v2.7.0 (fc4e41d) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v2.6.1 (b9e565b) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v2.5.4 (e99fd82) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v2.5.2 (4e26e9b) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v2.5.0 (994ffff) - (renovate[bot])
  • deps: Update tj-actions/auto-doc action to v2.4.0 (44018bc) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v14.0.1 -> v14.0.2
    (35b5ede) - (jackton1)

v14.0.1

Compare Source

🐛 Bug Fixes

  • Handle error from pipes (#​289) (7517b83) - (Tonye Jack)
  • Handle new line used as separator (86faf92) - (Tonye Jack)

🔄 Update

  • Updated README.md
    (5719db1) - (repo-ranger[bot])
  • Update entrypoint.sh (9f9d3cf) - (Tonye Jack)
  • Update entrypoint.sh (ce01bef) - (Tonye Jack)
  • Update entrypoint.sh (5c103de) - (Tonye Jack)
  • Update entrypoint.sh (0591269) - (Tonye Jack)
  • Update entrypoint.sh (d6be76f) - (Tonye Jack)
  • Update entrypoint.sh (2c230b9) - (Tonye Jack)
  • Update entrypoint.sh (aea97c9) - (Tonye Jack)
  • Update entrypoint.sh (3e53743) - (Tonye Jack)
  • Update entrypoint.sh (04f4c5f) - (Tonye Jack)
  • Update test.yml (ab27109) - (Tonye Jack)
  • Update test.yml (a621412) - (Tonye Jack)
  • Update entrypoint.sh (ca6cbe4) - (Tonye Jack)
  • Update entrypoint.sh (a234cef) - (Tonye Jack)
  • Update entrypoint.sh (51e4371) - (Tonye Jack)
  • Update entrypoint.sh (75968c8) - (Tonye Jack)
  • Update entrypoint.sh (f583de0) - (Tonye Jack)
  • Update test.yml (ffa65df) - (Tonye Jack)
  • Update test.yml (18de328) - (Tonye Jack)
  • Update entrypoint.sh (5bd0f97) - (Tonye Jack)

📝 Other

⚙️ Miscellaneous Tasks

  • deps: Update actions/checkout action to v3.5.2 (ce64891) - (renovate[bot])
  • deps: Update actions/checkout action to v3.5.1 (502cad3) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v14.0.0 -> v14.0.1 (#​283)

Co-authored-by: jackton1 <jackton1@​users.noreply.github.com> (4b248f3) - (Tonye Jack)

v14.0.0

Compare Source

🐛 Bug Fixes

  • Handle error from pipes (#​289) (7517b83) - (Tonye Jack)
  • Handle new line used as separator (86faf92) - (Tonye Jack)

🔄 Update

  • Updated README.md
    (5719db1) - (repo-ranger[bot])
  • Update entrypoint.sh (9f9d3cf) - (Tonye Jack)
  • Update entrypoint.sh (ce01bef) - (Tonye Jack)
  • Update entrypoint.sh (5c103de) - (Tonye Jack)
  • Update entrypoint.sh (0591269) - (Tonye Jack)
  • Update entrypoint.sh (d6be76f) - (Tonye Jack)
  • Update entrypoint.sh (2c230b9) - (Tonye Jack)
  • Update entrypoint.sh (aea97c9) - (Tonye Jack)
  • Update entrypoint.sh (3e53743) - (Tonye Jack)
  • Update entrypoint.sh (04f4c5f) - (Tonye Jack)
  • Update test.yml (ab27109) - (Tonye Jack)
  • Update test.yml (a621412) - (Tonye Jack)
  • Update entrypoint.sh (ca6cbe4) - (Tonye Jack)
  • Update entrypoint.sh (a234cef) - (Tonye Jack)
  • Update entrypoint.sh (51e4371) - (Tonye Jack)
  • Update entrypoint.sh (75968c8) - (Tonye Jack)
  • Update entrypoint.sh (f583de0) - (Tonye Jack)
  • Update test.yml (ffa65df) - (Tonye Jack)
  • Update test.yml (18de328) - (Tonye Jack)
  • Update entrypoint.sh (5bd0f97) - (Tonye Jack)

📝 Other

⚙️ Miscellaneous Tasks

  • deps: Update actions/checkout action to v3.5.2 (ce64891) - (renovate[bot])
  • deps: Update actions/checkout action to v3.5.1 (502cad3) - (renovate[bot])

⬆️ Upgrades

  • Upgraded from v14.0.0 -> v14.0.1 (#​283)

Co-authored-by: jackton1 <jackton1@​users.noreply.github.com> (4b248f3) - (Tonye Jack)

v14

Compare Source

🚀 Features

  • Add support for including git ignored files. (7b1e68c) - (Tonye Jack)

📦 Bumps

  • Bump peter-evans/create-pull-request from 5.0.0 to 5.0.1

Bumps peter-evans/create-pull-request from 5.0.0 to 5.0.1.


updated-dependencies:

  • dependency-name: peter-evans/create-pull-request
    dependency-type: direct:production
    update-type: version-update:semver-patch
    ...

Signed-off-by: dependabot[bot] support@github.com (6ed95ae) - (dependabot[bot])

🔄 Update

  • Updated README.md
    (dd9c6e5) - (repo-ranger[bot])
  • Update entrypoint.sh (2d62d9f) - (Tonye Jack)
  • Update entrypoint.sh (c9817eb) - (Tonye Jack)
  • Up

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added automerge dependencies Pull requests that update a dependency file labels Apr 21, 2026
@renovate renovate Bot added dependencies Pull requests that update a dependency file automerge labels Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant