Contributor License Agreement

Also known as: CLA

On this page 7

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.

ClauseWhat it statesWhy the project wants it
Copyright licensePerpetual, worldwide, royalty-free right to use and distributeClear legal basis for shipping the code
Patent licenseLicense to any contributor patents the contribution reads onProtection against later patent claims
Originality warrantyContributor wrote the work or has permissionReduces risk of infringing third-party code
Employer authorizationEmployer has approved or waived rightsCovers work made within employment
Relicensing rightSteward may distribute under other licensesAllows license changes or dual licensing
No support obligationContribution provided as isLimits contributor liability
Typical clauses in a contributor license agreement

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.

VariantSigned byOwnership after signingTypical setting
Individual CLAIndependent contributorContributor keeps copyrightVolunteer contributions
Corporate CLAEmployer on behalf of staffEmployer keeps copyrightCompany-sponsored work
Copyright assignmentContributor or employerSteward owns copyrightSome foundation and GNU projects
Project-specific CLAAny contributorVaries by textVendor-led open source products
Main variants of contributor agreements

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.

AspectContributor License AgreementDeveloper Certificate of Origin
FormSeparate signed legal documentLine in each commit message
Rights grantedExplicit copyright and often patent licenseOnly the project’s own license
RelicensingOften permittedNot permitted without consent
Contributor frictionHigher; legal review is commonLow; one command-line flag
Typical usersVendor-led and some foundation projectsLinux kernel and many community projects
CLA and DCO compared

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.

ProblemConsequenceRemedy
Employee signs individual CLA onlyEmployer may own the codeObtain a corporate CLA
Commit email differs from signatureBot blocks the pull requestLink all author emails to the account
Agreement text changed laterOld signatures may not cover new termsVersion the CLA and request re-signing
Third-party code pasted inWarranty is breachedRemove the code or confirm its license
Common CLA problems and remedies

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.