Handling Vulnerability Reports: A Recipe Card for Open Source Maintainers
| Recipe | Handling Vulnerability Reports |
| Target audience (the chef) | This recipe is aimed at small and medium non-security focused projects. Maintainers of a high-risk security sensitive project, you probably need a more sophisticated approach (check out https://alpha-omega.dev/) |
| Scope (ingredients) | Defining SECURITY.md, managing reports and embargoes, and CVE disclosure. |
| Out of scope (do not add) | Large projects and those that are security-critical. Vulnerabilities in dependencies. Coding best practices (ie how to avoid a vulnerability). |
The Short Version
Set the Station: Define a clear reporting path in your README.md and SECURITY.md so reporters know where to deliver ingredients.
Taste Test First: Determine if a report is a real vulnerability or just a regular bug before starting the fire.
Plate for Everyone: Coordinate the patch release with a public CVE disclosure to serve your users safely.
Step-by-Step Instructions
This guide walks through the process of handling security vulnerabilities in open source projects. A security vulnerability is a flaw that an attacker can exploit to compromise a system’s confidentiality, integrity, or availability. Vulnerabilities often stem from bugs, but not every bug is exploitable. Many issues appear in the kitchen, but only some have the potential to ruin the meal for your users.
Just as spoiled ingredients can harm patrons, vulnerabilities can cause significant damage to end-users. Because many users track and prioritize vulnerabilities to reduce their impact, this process can generate extra work. This guide aims to minimize that workload for both maintainers and users.
For more detailed guidance, especially for larger projects, see the vulnerability disclosure guide from the OpenSSF.
Preparing to Receive a Vulnerability Report
As a maintainer, you want to hear about problems directly, not through a public issue that exposes the flaw to everyone. Make the private reporting path obvious by including a security section in your repository’s README.md. This section can contain the instructions directly or link to a SECURITY.md file, which should also live at the root of your repository.
Your reporting instructions should cover:
- Your threat model and which issues you consider in scope.
- Where to report: use GitHub’s private vulnerability reporting or a private email list.
- The expected format for a report.
- Timelines, including how quickly you will acknowledge the report and when you expect to publish a fix.
- Your bug bounty policy, if one exists. For small and medium projects, it is acceptable not to offer a bounty.
Assessing an Incoming Report
When you receive a vulnerability report, you will likely need to work under an embargo, where only a small group of trusted maintainers and the reporter are aware of the issue. This prevents attackers from learning about the flaw before a patch is ready.
First, verify that the report is actually a vulnerability. Some reports turn out to be non-exploitable bugs or misunderstandings of the project’s intended behavior. Discuss the report with the reporter and relevant experts, keeping the discussion group small and ensuring everyone agrees to maintain confidentiality. If you determine it is not a vulnerability, ask the reporter to file a public issue instead. If you are unsure, you can reach out to TAG Security and Compliance or CNCF staff for general guidance, but keep the report’s details out of public channels.
When evaluating a report, consider:
- Is there a mitigation mechanism for users?
- Can this bug lead to compromise, data leaks, or other malicious activity?
- Is this a documentation error?
Be selective when adding people to an embargo. Ensure they understand the vulnerability is not yet public and must be kept confidential. Involving too many people increases the risk of a leak. The embargo is crucial because it prevents attackers from exploiting the vulnerability before a fix is available.
Developing and Merging a Patch
While working on a fix, keep your work private. Avoid public pull requests and discussions that might hint at the vulnerability. Attackers can often infer the flaw from the patch, so you want users to have a chance to update before the issue is widely known.
- If you are using GitHub’s private reporting, you can create a private branch directly from the report. Otherwise, develop and review the patch over a private channel.
- Test the fixes thoroughly. Your standard CI may not run against private branches, so run tests locally and use your judgment on what is needed for the patch’s scope.
- Merge quickly and coordinate with the public disclosure. Once you are confident the patch is correct and tested, merge it promptly, especially if you are not using private branches. Having multiple maintainers involved in the review can speed up this process. Before publicizing, verify the fix works as intended.
Publishing the Disclosure
Once the patch is ready, you need to inform your users. Best practice is to do this within 90 days of receiving the original report. One option is to maintain a private list of users who get early access to the patch. However, this requires ongoing maintenance that may not be feasible for small projects.
A more common approach is to release the patch and announce the vulnerability simultaneously. This gives all users the fix at the same time and is simpler to coordinate.
- Build a new release as soon as the patch is merged, using your normal release process.
- Publish a CVE. If you used GitHub’s private reporting, you can do this from the GitHub UI. For a CVE number, you need to go through a CVE Numbering Authority (CNA). GitHub is a CNA and can assign a number, or you can work with another CNA directly.
- The CVE severity score is based on a set of criteria. Collaborate with the reporter to ensure the answers and the final score are accurate.
- Once published, the CVE will appear in OSV and other vulnerability databases, showing up in users’ scans and prompting them to update.
- Consider publishing a proof of concept only after the fix has been available for a while. This gives users extra time to patch, although it may be difficult to manage with private reporting.

