← Back to results
Vulnerability record · public intelligence
CVE-2017-7540
CRITICAL

Safemode Gem Has Incomplete List of Disallowed Inputs

Published Jul 21, 2017 · Updated Oct 23, 2026 · Also known as GHSA-5vx5-9q73-wgp4

Severity · CVSSCRITICAL · 9.8
Known exploitationNot listed
EPSS / likelihood1.63%
QFinch risk score20 / 100

Original summary

Normalized public record · Updated Oct 23, 2026

Safemode Gem Has Incomplete List of Disallowed Inputs

Publisher and source text is retained separately from QFinch interpretation.

QFinch assessment

rubygem-safemode, as used in Foreman, versions 1.3.1 and earlier are vulnerable to bypassing safe mode limitations via special Ruby syntax. This can lead to deletion of objects for which the user does not have delete permissions or possibly to privilege escalation.

Evidence: public source records

Affected products

Affected scope reported by the available public evidence
Affected package, product or rangeFix status
Consult the referenced vendor advisory for affected versions.Consult source advisory

Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.

Remediation

Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.

  1. Confirm the affected product and reachable code path exist in your environment.
  2. Apply the vendor-supported patch or mitigation from the primary advisory.
  3. Rescan the exact deployed revision and retain verification evidence.
Review primary references

Evidence coverage

CVENVDOSVEPSSGHSA
SSVC priority
MEDIUM
Confidence
20%
Aliases
GHSA-5vx5-9q73-wgp4

Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.

Sources and record history

  1. GitHub advisory ↗

Record history

Published Jul 21, 2017 · Last refreshed Oct 23, 2026