SecurityContext

CVE-2025-54314: Thor - Command Injection

  • Cve: CVE-2025-54314
  • Name: Thor - Command Injection
  • Description: Thor before 1.4.0 can construct an unsafe shell command from library input. NOTE: this is disputed by the Supplier because "the method that was fixed can only be used with arguments that are controlled by Thor, and there is no way an attacker can take control of those arguments."
  • Impact: Attackers can execute arbitrary shell commands, potentially leading to full system compromise.
  • Remediation: Update to version 1.4.0 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 2.8
  • Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N
  • Epss score: 0.00194
  • Epss percentile: 0.08956
  • Assignee: [email protected]
  • Published at: 2025-07-20T03:15:22Z
  • Age in days: 492
  • Modified at: 2026-06-17T09:39:50Z
  • References total: 5
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-54314
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/github/advisory-database/pull/5912#issuecomment-3169255309
https://github.com/rails/thor/commit/536b79036a0efb765c1899233412e7b1ca94abfa
https://github.com/rails/thor/pull/897
https://github.com/rails/thor/releases/tag/v1.4.0
https://hackerone.com/reports/3260153

Projects

RepositoryLink kindsIndexedUrl
rails/thorcommit, pull, releasesyes/v1/repositories/rails/thor

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts