Skip to content

HackerOne

Homebrew

Every publicly disclosed report for Homebrew and what kind of bugs they were.

disclosed reports
15
most reported class
Info disclosure
bug classes found
7
first disclosure
2017
Scope, rewards and live status on bugbounty.fyi Paused Disclosure program, no bounty

Disclosed reports

Newest first. Only what Homebrew chose to make public.

UI spoofing

clickjacking at brew.sh

The site did not send an X-Frame-Options header, so its pages could be loaded inside a frame on another site. An attacker could use this to trick a visitor into clicking or typing into the framed page while believing they were interacting with something else.

Homebrew

Low
Access control

Homebrew privilege escalation vulnerability

Homebrew's `brew services` did not change ownership of additional symlinks and directories, allowing an attacker to replace the `opt` prefix link. This could let an attacker gain root permission.

Homebrew

High
Access control

Homebrew installed LaunchDaemons create simple root esclations

Homebrew-installed LaunchDaemons run executables from directories writable by the user, allowing any local user to replace the executable with a malicious one. When the service restarts, the malicious code runs as root, escalating privileges.

Homebrew

High
Info disclosure

GitHub API Key for BrewTestBot is publicly exposed

A publicly reachable Jenkins instance exposed build environment variables, including a GitHub API token belonging to the BrewTestBot account. The reporter showed the token allowed authenticated writes to the BrewTestBot/homebrew-core repository.

Homebrew

Critical
Info disclosure

[bot.brew.sh] Full Path Disclosure

A Jenkins logging endpoint on the affected host exposed environment variables and operating system path information in its build log output. An attacker could read these details to learn the server's internal paths and environment settings.

Homebrew

Medium
Info disclosure

Server version disclosure on [jenkins.brew.sh]

The web server at jenkins.brew.sh reveals its exact Nginx version in HTTP responses. An attacker could use this version information to look for known exploits targeting that specific software.

Homebrew

Informational
Leaked secrets

How I gained commit access to Homebrew in 30 minutes

A GitHub API token with write access to core Homebrew repositories was exposed in the environment variables of a publicly accessible Jenkins instance. An attacker could use this token to commit malicious changes to Homebrew formulae, potentially compromising users who install or update packages.

Homebrew

RCE

Remote code execution in Homebrew by compromising the official Cask repository

A parsing flaw in the git_diff library allowed a malicious pull request to be disguised as a harmless version bump, bypassing automated review and merging into the official Homebrew Cask repository. An attacker could then execute arbitrary Ruby code on users' machines when they ran brew commands.

Homebrew