A Contributor License Agreement (CLA) is a legal agreement between a contributor and a software project that defines what rights the contributor grants over submitted code, documentation or other material. In software licensing, a CLA sits alongside the project’s outbound license: the outbound license governs what users may do with the software, while the CLA governs what the project steward receives from contributors.
Typical CLAs confirm that the contributor owns the contribution or has the right to submit it, grant a broad copyright license and often a patent license, and sometimes allow the steward to relicense the code under other terms. Some agreements go further and transfer copyright outright, a variant usually called a copyright assignment.
What a Contributor License Agreement grants
A CLA grants the project steward a documented set of inbound rights that are at least as broad as the rights the project needs to distribute the software. Without it, each contributor retains copyright and the project relies on the implied assumption that contributions arrive under the project’s own license, a convention often called inbound equals outbound.
The clauses most agreements contain are summarized below, together with the purpose each serves.
| Clause | What it states | Why the project wants it |
|---|---|---|
| Copyright license | Perpetual, worldwide, royalty-free right to use and distribute | Clear legal basis for shipping the code |
| Patent license | License to any contributor patents the contribution reads on | Protection against later patent claims |
| Originality warranty | Contributor wrote the work or has permission | Reduces risk of infringing third-party code |
| Employer authorization | Employer has approved or waived rights | Covers work made within employment |
| Relicensing right | Steward may distribute under other licenses | Allows license changes or dual licensing |
| No support obligation | Contribution provided as is | Limits contributor liability |
The contributor usually keeps copyright under a license-style CLA and may still use the same code elsewhere. Under an assignment-style agreement, ownership itself passes to the steward, which then licenses the code back to the community.
Individual, corporate and assignment variants
Projects commonly maintain two parallel agreements: an individual CLA signed by a person and a corporate CLA signed by an employer that lists authorized employees. Assignment agreements form a third, stricter category.
The table below compares the main variants and where each tends to appear.
| Variant | Signed by | Ownership after signing | Typical setting |
|---|---|---|---|
| Individual CLA | Independent contributor | Contributor keeps copyright | Volunteer contributions |
| Corporate CLA | Employer on behalf of staff | Employer keeps copyright | Company-sponsored work |
| Copyright assignment | Contributor or employer | Steward owns copyright | Some foundation and GNU projects |
| Project-specific CLA | Any contributor | Varies by text | Vendor-led open source products |
Standardized templates such as the Apache Individual and Corporate CLAs and the Project Harmony agreement families reduce legal review effort, because contributors and their employers recognize familiar wording.
Contributor License Agreement compared with the Developer Certificate of Origin
The main lightweight alternative to a CLA is the Developer Certificate of Origin (DCO), a short statement that contributors accept by adding a Signed-off-by line to each commit. The DCO certifies the right to submit the work under the project’s license but grants no extra rights to the steward.
| Aspect | Contributor License Agreement | Developer Certificate of Origin |
|---|---|---|
| Form | Separate signed legal document | Line in each commit message |
| Rights granted | Explicit copyright and often patent license | Only the project’s own license |
| Relicensing | Often permitted | Not permitted without consent |
| Contributor friction | Higher; legal review is common | Low; one command-line flag |
| Typical users | Vendor-led and some foundation projects | Linux kernel and many community projects |
A third option is to require no agreement at all, relying purely on inbound equals outbound. This keeps friction lowest but leaves the steward with no documented chain of provenance beyond the commit history.
Why projects adopt or reject a CLA
Projects adopt a CLA mainly for legal certainty and flexibility. Companies that sell commercial editions of an open source product often need the right to ship contributions under a proprietary license, which is the foundation of the dual licensing business model. Foundations value the documented warranties when defending the code base.
Critics argue that CLAs create an asymmetry of rights: the steward may relicense contributions, including into proprietary or source-available terms, while contributors remain bound by the copyleft license. Several high-profile relicensing events, in which vendors moved projects from open source licenses to source-available licenses, reinforced the concern that a CLA can enable a later license change that the community did not want.
- Arguments for: clear provenance, patent grants, freedom to relicense or dual license.
- Arguments against: contributor friction, legal review costs, unequal rights, risk of relicensing.
- Middle ground: CLAs that limit relicensing to licenses approved by the Open Source Initiative.
Practical administration and common mistakes
Most projects administer a CLA through an automated check on pull requests that blocks merging until the author has signed electronically. Records must link each commit author to a signed agreement, and corporate agreements need an up-to-date list of covered employees.
The table below lists frequent problems and how maintainers resolve them.
| Problem | Consequence | Remedy |
|---|---|---|
| Employee signs individual CLA only | Employer may own the code | Obtain a corporate CLA |
| Commit email differs from signature | Bot blocks the pull request | Link all author emails to the account |
| Agreement text changed later | Old signatures may not cover new terms | Version the CLA and request re-signing |
| Third-party code pasted in | Warranty is breached | Remove the code or confirm its license |
A CLA does not replace the outbound license and does not by itself make a project open source. Maintainers should also state in the contributing guide which agreement applies, so contributors know the terms before writing any code.
In everyday language
A Contributor License Agreement is a permission slip for code. When someone offers improvements to a software project, the project wants written proof that the person is allowed to share that work and that the project may use it freely.
Signing the agreement is like a freelance photographer giving a magazine written permission to print a photo. The photographer usually still owns the picture, but the magazine can publish it without worrying about being sued later. The key point is clarity: everyone knows who may do what with the contributed work.
Seen in the real world
A mid-sized company maintains an open source database driver under the Apache License 2.0 and also sells an enterprise edition with extra features under a commercial license. A developer at a logistics firm wants to submit a fix for connection pooling.
When the developer opens a pull request, an automated check asks for a signed CLA. Because the fix was written during working hours, the developer’s legal department signs the corporate CLA and lists the developer as an authorized contributor. The check turns green and maintainers review the code.
Thanks to the agreement, the company can include the same fix in both the open source and the commercial edition. The project gains a clear legal record of the contribution, and the logistics firm gets its fix upstream without maintaining a private patch.